小程序首页第一次打开时图片不显示bug修复
This commit is contained in:
@@ -31,8 +31,8 @@
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.imgUrl = uni.getStorageSync('img_url')
|
||||
this.getCertifiedCj()
|
||||
this.imgUrl = uni.getStorageSync('img_url')
|
||||
},
|
||||
onReachBottom() {
|
||||
this.pageNum++
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -36,8 +36,8 @@
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.imgUrl = uni.getStorageSync('img_url')
|
||||
this.getNews()
|
||||
this.imgUrl = uni.getStorageSync('img_url')
|
||||
},
|
||||
onReachBottom() {
|
||||
this.pageNum++
|
||||
|
||||
Reference in New Issue
Block a user