优化 图稿预览图片加载问题
This commit is contained in:
parent
8c7cd9b152
commit
5a2bde6a69
|
|
@ -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)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue