We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 702f6ad commit 451214aCopy full SHA for 451214a
src/components/image.ts
@@ -91,6 +91,7 @@ export default class Image extends Element {
91
} else {
92
if (!this.isDestroyed) {
93
this.img = img;
94
+ // 当图片加载完成,实例可能已经被销毁了
95
this.root?.emit('repaint');
96
}
97
0 commit comments