Commit 92eac68a authored by qipeng's avatar qipeng

返回的时候刷新列表

parent 12810ee6
...@@ -180,7 +180,11 @@ export default { ...@@ -180,7 +180,11 @@ export default {
this.openid = uni.getStorageSync('openid') //获取openid this.openid = uni.getStorageSync('openid') //获取openid
//this.openid = 'oroHZ5B455jLw_BqDmVpr7W13NLY' //获取openid //this.openid = 'oroHZ5B455jLw_BqDmVpr7W13NLY' //获取openid
this.faceIds = JSON.parse(option.faceIds) this.faceIds = JSON.parse(option.faceIds)
this.location = JSON.parse(uni.getStorageSync('location')) var locationData = {
latitude:'',
longitude:'',
}
this.location = JSON.parse(uni.getStorageSync('location'))||locationData
this.merchantId = option.merchantId||'z0015605022691a5945bbe463141668c'// 'z0015605022691a5945bbe463141668c' this.merchantId = option.merchantId||'z0015605022691a5945bbe463141668c'// 'z0015605022691a5945bbe463141668c'
this.obtainProvince()//获取省市区 this.obtainProvince()//获取省市区
this.inquireMerchant()//查询所有商户 this.inquireMerchant()//查询所有商户
......
...@@ -445,6 +445,9 @@ export default { ...@@ -445,6 +445,9 @@ export default {
this.ifyukuaiCode = option.ifyukuaiCode||'' this.ifyukuaiCode = option.ifyukuaiCode||''
this.getData(1) this.getData(1)
}, },
onShow(){
this.getData(1)
},
methods: { methods: {
screenChange(i){//顶部导航切换 screenChange(i){//顶部导航切换
this.orderStatus = i this.orderStatus = i
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment