This commit is contained in:
X1627315083
2026-01-23 19:46:34 +08:00
parent 086481bfb9
commit 13b4767992

View File

@@ -624,9 +624,13 @@ export default defineComponent({
// }
detailDom.canvasBox.editFront(str)
if(str == 'canvasEditor'){
if(detailDom.detailRight?.privewDetail)await (detailDom.detailRight as any).privewDetail()
let otherData = await updateOtherLayers('single')
await detailDom.canvasBox.updateOtherLayers(otherData)
if((detailData.currentDetailType == 'print' || detailData.currentDetailType == 'element') && !detailDom.detailRight?.privewDetail){
store.commit('DesignDetail/changeCanvasKey')
}else{
if(detailDom.detailRight?.privewDetail)await (detailDom.detailRight as any).privewDetail()
let otherData = await updateOtherLayers('single')
await detailDom.canvasBox.updateOtherLayers(otherData)
}
}
detailData.isEditPattern.value = str
}