This commit is contained in:
魏啾 2024-05-28 15:24:53 +08:00
parent 85e2c074f7
commit eb99040703
1 changed files with 6 additions and 2 deletions

View File

@ -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')