From 29ad14b24a521c6559d1c5eb73de796d4900c6b0 Mon Sep 17 00:00:00 2001 From: xiaowang <2161656029@qq.com> Date: Mon, 7 Sep 2026 11:15:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=99=BB=E5=BD=95=E9=A1=B5?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=AA=8C=E8=AF=81=E7=A0=81=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JC-Salon-WeChat/pages/login/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JC-Salon-WeChat/pages/login/index.js b/JC-Salon-WeChat/pages/login/index.js index 094aef20..192a29f3 100644 --- a/JC-Salon-WeChat/pages/login/index.js +++ b/JC-Salon-WeChat/pages/login/index.js @@ -108,7 +108,8 @@ Page({ const preference = getLoginPreference() if (preference.rememberMe) { this.setData({ - loginMode: preference.loginMode === 'password' ? 'password' : 'phone', + // 记住账号不代表默认使用密码登录,工作台优先引导手机号验证码登录。 + loginMode: 'phone', rememberMe: true, 'form.account': preference.account || '', 'form.phone': preference.phone || ''