From f1358c2315f329e6fc275a56ea0eb62ce00dad47 Mon Sep 17 00:00:00 2001 From: qiaomu <3520484422@qq.com> Date: Fri, 2 Aug 2024 17:12:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=80=80=E5=87=BA=E7=99=BB?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/login/index.js | 4 ++-- pages/my/index.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/login/index.js b/pages/login/index.js index 193cf1e..6b264ee 100644 --- a/pages/login/index.js +++ b/pages/login/index.js @@ -41,8 +41,8 @@ Page({ // }) // return // } - wx.redirectTo({ - url: '/pages/login/index', + wx.switchTab({ + url: '/pages/home/index', }) }, async getPrivacy() { diff --git a/pages/my/index.js b/pages/my/index.js index 8b8bcb9..21285ab 100644 --- a/pages/my/index.js +++ b/pages/my/index.js @@ -90,8 +90,8 @@ Page({ return; } wx.clearStorageSync() - wx.switchTab({ - url: '/pages/home/index', + wx.redirectTo({ + url: '/pages/login/index', }) }); },