This commit is contained in:
parent
85e2c074f7
commit
eb99040703
|
|
@ -286,7 +286,9 @@
|
|||
.miniAppOpenId)
|
||||
uni.cache.set('userInfo', res.data.userInfo);
|
||||
if (this.types == 0) {
|
||||
uni.pro.navigateTo('order_food/order_food')
|
||||
uni.reLaunch({
|
||||
url: '/pages/order_food/order_food'
|
||||
});sss
|
||||
} else {
|
||||
// uni.cache.set('shopUser', res.data.shopUser);
|
||||
uni.pro.switchTab('index/index')
|
||||
|
|
@ -342,7 +344,9 @@
|
|||
uni.cache.set('userInfo', res.data.userInfo);
|
||||
// uni.cache.set('shopUser', res.data.shopUser);
|
||||
if (this.types == 0) {
|
||||
uni.pro.navigateTo('order_food/order_food')
|
||||
uni.reLaunch({
|
||||
url: '/pages/order_food/order_food'
|
||||
});
|
||||
} else {
|
||||
// uni.cache.set('shopUser', res.data.shopUser);
|
||||
uni.pro.switchTab('index/index')
|
||||
|
|
|
|||
Loading…
Reference in New Issue