优化测试

This commit is contained in:
yanran200730
2022-07-29 09:05:26 +08:00
parent fc2e58a3cd
commit 7d55a05748
2 changed files with 58 additions and 11 deletions

View File

@@ -183,17 +183,12 @@
this.albumId = query.albumId
}
uni.setStorageSync('address', {
lat: '',
lng: '',
address: '',
weather: '',
cityCode: ``
})
this.img = decodeURIComponent(query.url)
this.height = uni.getSystemInfoSync().windowHeight
this.getLocation()
if (uni.getStorageSync('address').address) {
this.getLocation()
}
this.$nextTick(() => {
this.getWatermarkList()