From eb99040703fa4f7956dc608cfcf3fa23049b3339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E5=95=BE?= <1144797966@qq.com> Date: Tue, 28 May 2024 15:24:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/login.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/login/login.vue b/pages/login/login.vue index 9858c35..0bf2991 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -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')