加载图片尺寸补上await

This commit is contained in:
John Smith 2023-10-15 10:35:53 +08:00
parent c5ec713b4d
commit 9874cf4291

View File

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