Skip to content

Commit 451214a

Browse files
author
anewzhuang
committed
feat: 无关调整不处理
1 parent 702f6ad commit 451214a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/image.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ export default class Image extends Element {
9191
} else {
9292
if (!this.isDestroyed) {
9393
this.img = img;
94+
// 当图片加载完成,实例可能已经被销毁了
9495
this.root?.emit('repaint');
9596
}
9697
}

0 commit comments

Comments
 (0)