Commit c2a264ae authored by qipeng's avatar qipeng

修改BUG

parent 7877182f
......@@ -187,7 +187,11 @@ export default {
latitude:'29.563936',
longitude:'106.589294',
}
this.location = JSON.parse(uni.getStorageSync('location'))||locationData
if(uni.getStorageSync('location')!=''){
this.location = JSON.parse(uni.getStorageSync('location'))
}else{
this.location = locationData
}
this.merchantId = option.merchantId||'z0015605022691a5945bbe463141668c'// 'z0015605022691a5945bbe463141668c'
this.obtainProvince()//获取省市区
this.inquireMerchant()//查询所有商户
......
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