静默登录第三次
This commit is contained in:
7
App.vue
7
App.vue
@@ -43,13 +43,6 @@
|
||||
uni.cache.set('miniAppOpenId', res.data.userInfo
|
||||
.miniAppOpenId)
|
||||
uni.cache.set('userInfo', res.data.userInfo);
|
||||
if (uni.cache.get('types') == 'types') {
|
||||
uni.reLaunch({
|
||||
url: '/pages/order_food/order_food'
|
||||
});
|
||||
} else {
|
||||
uni.pro.switchTab('index/index')
|
||||
}
|
||||
}
|
||||
},
|
||||
fail: (err) => {}
|
||||
|
||||
Reference in New Issue
Block a user