3d模型3视图

This commit is contained in:
X1627315083@163.com
2026-03-18 14:51:22 +08:00
parent 78fa8d965f
commit 359766f59c
11 changed files with 82 additions and 37 deletions

View File

@@ -58,8 +58,8 @@
/>
<image-preview ref="imagePreviewRef" />
<baseModal ref="threeModelRef">
<template v-slot="{ currentUrl }">
<threeModel :currentUrl="currentUrl" />
<template v-slot="{ currentData }">
<threeModel :currentData="currentData" />
</template>
</baseModal>
</template>
@@ -194,6 +194,9 @@
return JSON.stringify(stateManager.nodes.value)
}
const exportFlow = () => {
console.log(vueFlow.value)
console.log(vueFlow.value.toImage)
return
// flowManager.exportFlow()
const str = getFlowJson()
stateManager.isSave.value = false
@@ -224,8 +227,8 @@
imagePreviewRef.value.open(url)
}
/** 打开3D预览 */
const openThreeModelPreview = (url: string) => {
threeModelRef.value.open(url)
const openThreeModelPreview = (currentData) => {
threeModelRef.value.open(currentData)
}
provide('openImagePreview', openImagePreview)
provide('openThreeModelPreview', openThreeModelPreview)