小程序首页第一次打开时图片不显示bug修复

This commit is contained in:
邓洁
2023-02-05 17:59:47 +08:00
parent 8db95277dd
commit 0e6d4f02a2
12 changed files with 33 additions and 34 deletions

View File

@@ -57,10 +57,10 @@
}
},
onLoad(option) {
this.imgUrl = uni.getStorageSync('img_url')
this.id = option.id
this.getCertifiedCjDetail()
this.getCsTel()
this.imgUrl = uni.getStorageSync('img_url')
if (!uni.getStorageSync('loginToken') || uni.getStorageSync('loginToken').length === 0) {
this.isLoad = false
return