fix(Image): mismatching warning during ssr (#7822)
This commit is contained in:
+1
-1
@@ -114,7 +114,7 @@ export default createComponent({
|
||||
},
|
||||
|
||||
genPlaceholder() {
|
||||
if (this.loading && this.showLoading && inBrowser) {
|
||||
if (this.loading && this.showLoading) {
|
||||
return (
|
||||
<div class={bem('loading')}>
|
||||
{this.slots('loading') || (
|
||||
|
||||
Reference in New Issue
Block a user