修改sketch或者切换sketch bug修复
This commit is contained in:
@@ -128,7 +128,10 @@ export default defineComponent({
|
||||
getDetailListDom.position?.updataPosition?.()
|
||||
getDetailListDom.modelNav?.setItemPosition?.()
|
||||
getDetailListDom.position?.updateRect?.()
|
||||
},500)
|
||||
},200)
|
||||
}
|
||||
const updateRect = ()=>{
|
||||
getDetailListDom.position?.updateRect?.()
|
||||
}
|
||||
const setBack = ()=>{
|
||||
showDesignImgDetail(getDetailListData.isEditPattern.value)
|
||||
@@ -156,6 +159,7 @@ export default defineComponent({
|
||||
oppositeRevocation,
|
||||
mousedownDesignImg,
|
||||
setBack,
|
||||
updateRect,
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -155,8 +155,8 @@ export default defineComponent({
|
||||
};
|
||||
const updateRect = ()=>{
|
||||
setTimeout(() => {
|
||||
moveableInstance.value.updateRect()
|
||||
}, 500);
|
||||
if(moveableInstance.value)moveableInstance.value.updateRect()
|
||||
}, 200);
|
||||
}
|
||||
const initMoveableForSelected = () => {
|
||||
// 销毁旧的实例
|
||||
|
||||
Reference in New Issue
Block a user