mirror of
https://github.com/xfgryujk/blivechat.git
synced 2025-03-23 08:10:56 +08:00
加载图片尺寸补上await
This commit is contained in:
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…
Reference in New Issue
Block a user