mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(Image): mismatching warning during ssr (#7822)
This commit is contained in:
parent
76aa0e5dd9
commit
67e4adb389
@ -114,7 +114,7 @@ export default createComponent({
|
|||||||
},
|
},
|
||||||
|
|
||||||
genPlaceholder() {
|
genPlaceholder() {
|
||||||
if (this.loading && this.showLoading && inBrowser) {
|
if (this.loading && this.showLoading) {
|
||||||
return (
|
return (
|
||||||
<div class={bem('loading')}>
|
<div class={bem('loading')}>
|
||||||
{this.slots('loading') || (
|
{this.slots('loading') || (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user