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