From 67e4adb3894f436c800b7af514146f2ac6b82b30 Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 26 Dec 2020 15:29:46 +0800 Subject: [PATCH] fix(Image): mismatching warning during ssr (#7822) --- src/image/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/image/index.js b/src/image/index.js index 30993d464..d314d7063 100644 --- a/src/image/index.js +++ b/src/image/index.js @@ -114,7 +114,7 @@ export default createComponent({ }, genPlaceholder() { - if (this.loading && this.showLoading && inBrowser) { + if (this.loading && this.showLoading) { return (
{this.slots('loading') || (