3d添加印花 等

This commit is contained in:
X1627315083
2025-04-16 10:43:54 +08:00
parent fd2e47e783
commit c2288a30b2
51 changed files with 5588 additions and 359 deletions

View File

@@ -24,7 +24,7 @@
</div>
</template>
<script>
import {defineComponent, computed, provide, h, ref, nextTick, onBeforeUnmount, reactive, onMounted, toRefs,
import {defineComponent, computed, provide, h, ref, watch, onBeforeUnmount, reactive, onMounted, toRefs,
} from "vue";
import {message} from 'ant-design-vue'
import { Https } from "@/tool/https";
@@ -48,7 +48,16 @@ export default defineComponent({
canvasContent,
liquefaction,publish
},
props: {
isState: {
type: Boolean,
default: false,
},
},
setup(props,{emit}) {
watch(()=>props.isState,(newVal)=>{
if(!newVal && canvasObj)canvasObj.clearEvent()
})
const { t } = useI18n();
const store = useStore();
const isShowMark = ref(false)
@@ -67,6 +76,7 @@ export default defineComponent({
let data = reactive({
elementList:null,
showCanvas:false,
})
provide('canvasType',canvasType)
provide('canvasObj',canvasObj)