小程序首页第一次打开时图片不显示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

@@ -66,8 +66,8 @@
styleIsolation: 'shared', // 解除样式隔离
},
created() {
this.imgUrl = uni.getStorageSync('img_url')
this.getHistoryOrCollection()
this.imgUrl = uni.getStorageSync('img_url')
},
methods: {
//获取历史记录