Commit 2a0b6748 by songbingqi

修复部分bug

parent 8eabbc56
......@@ -364,6 +364,7 @@ export default {
if (res.confirm) {
uni.openSetting({//opensetting是调起设置页面的
success: (res) => {
uni.setStorageSync("updataLoadtion",true)
console.log(res)
if(res.authSetting['scope.userLocation'] == true){//判断res.authsetting的值是true还是false
gosettleFun()
......
......@@ -142,7 +142,7 @@ export default {
onShow() {
uni.setStorageSync('allow',true)
uni.setStorageSync('goodsList',{})
this.backToMneu = false
// this.backToMneu = false
},
// onUnload(){
// this.goBack()
......@@ -252,6 +252,7 @@ export default {
return
}else{
this.backFlag = false
this.backToMneu = true
oId = orderId
}
}
......
......@@ -190,6 +190,11 @@ export default {
},
async onShow() {
uni.setStorageSync("selectFlag",false)
const updataLoactionFlag = uni.getStorageSync("updataLoadtion")
if(updataLoactionFlag) {
this.authLocation();
uni.setStorageSync("updataLoadtion",false)
}
this.getHomeOrder()
},
methods: {
......
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