3d添加印花 等
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user