优化 图稿预览图片加载问题

This commit is contained in:
YuanFeng 2024-09-08 18:05:23 +08:00
parent 8c7cd9b152
commit 5a2bde6a69
1 changed files with 3 additions and 5 deletions

View File

@ -431,10 +431,8 @@ const loadConfig = (config: object, propData = {}) => {
that.sizeInfo = that.pageConfig.editArea
// true, conf.pageConfig, conf.data, test
draftDesignEditRef.value.init(false, that.pageConfig, that.data, that.propInfo)
loading.value = true
setTimeout(()=>{
showPng();
},300)
showPng();
queryUseLabel();
}
const queryUseLabel = (label) => {
@ -510,7 +508,7 @@ const showPng = () => {
heightScale: that.currentZoom
})
}, 200)
}, 800)
}
}