diff --git a/src/image/image.ts b/src/image/image.ts index f36b7b38a..a4b8b0639 100644 --- a/src/image/image.ts +++ b/src/image/image.ts @@ -24,7 +24,7 @@ export default class Image extends SuperComponent { classPrefix: name, }; - preSrc = ''; // 保留上一次的src,防止在src相同时重复update + preSrc = undefined; // 保留上一次的src,防止在src相同时重复update observers = { src() {