加载图片尺寸补上await

pull/157/head
John Smith 1 year ago
parent c5ec713b4d
commit 9874cf4291

@ -410,7 +410,7 @@ export default {
width: 0, width: 0,
height: 0 height: 0
}) })
this.fillImageContentSizes(richContent) await this.fillImageContentSizes(richContent)
return richContent return richContent
} }
@ -462,7 +462,7 @@ export default {
}) })
} }
this.fillImageContentSizes(richContent) await this.fillImageContentSizes(richContent)
return richContent return richContent
}, },
async fillImageContentSizes(richContent) { async fillImageContentSizes(richContent) {

Loading…
Cancel
Save