Fix(店铺):[#1068]店铺查看资讯图片返回后,改为停留在点击图片前的位置,不要返回后就刷新页面
This commit is contained in:
@@ -504,10 +504,9 @@ export default {
|
||||
if (!this.isLoad) {
|
||||
return
|
||||
}
|
||||
if (this.inn.hasProduct > 0) {
|
||||
this.fetchGoods()
|
||||
if (uni.getStorageSync('hotelInfoPublish') === '1') {
|
||||
this.fetchInnInfoList()
|
||||
}
|
||||
this.fetchInnInfoList()
|
||||
this.fetchInnDetail()
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -162,6 +162,8 @@
|
||||
this.$dialog.toast({
|
||||
mes: '发布成功!'
|
||||
})
|
||||
// 写入缓存,返回至商户主页时监听用于刷新资讯列表
|
||||
uni.setStorageSync('hotelInfoPublish', '1')
|
||||
setTimeout(() => {
|
||||
this.$yrouter.back()
|
||||
}, 3000)
|
||||
|
||||
Reference in New Issue
Block a user