Commit 686c0f39 by 赵雅纹

update

parent 75404ea4
...@@ -23,7 +23,8 @@ wxService.page({ ...@@ -23,7 +23,8 @@ wxService.page({
couponNum: 0, couponNum: 0,
// isAllScreen: fullSucreen.isAllScreen // isAllScreen: fullSucreen.isAllScreen
isAllScreen: config.isAllScreen, isAllScreen: config.isAllScreen,
token:'' token:'',
isAuthorization: false
}, },
/** /**
...@@ -112,6 +113,7 @@ wxService.page({ ...@@ -112,6 +113,7 @@ wxService.page({
// 获取当前帐号信息 // 获取当前帐号信息
const accountInfo = utils.getAccountInfo() const accountInfo = utils.getAccountInfo()
// 是当前小程序 直接跳转 // 是当前小程序 直接跳转
if (wx.getStorageSync('_baseUserInfo')){
if(accountInfo.miniProgram.appId == appid){ if(accountInfo.miniProgram.appId == appid){
wxService.router(`${path}`) wxService.router(`${path}`)
} else { } else {
...@@ -130,6 +132,11 @@ wxService.page({ ...@@ -130,6 +132,11 @@ wxService.page({
}, },
}) })
} }
}else{
this.setData({
isAuthorization: true
})
}
} }
}, },
// page 信息 // page 信息
......
...@@ -27,3 +27,5 @@ ...@@ -27,3 +27,5 @@
</view> </view>
</block> </block>
</view> </view>
<authorization-modal isAuthorization='{{isAuthorization}}'/>
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