Commit e8d14cd2 by liangjianmin

fix(login): correct mobile binding condition in login logic

- Updated the condition to check if the mobile number is not bound, ensuring the binding interface is displayed correctly during login.
- This change improves user experience by prompting mobile binding only when necessary.
parent 16beb12a
Showing with 1 additions and 1 deletions
......@@ -415,7 +415,7 @@
Util.setCookie("token", res.data.api_token, 1);
//登录时,识别到账号未绑定手机号,则显示绑定手机号窗口
if (res.data.is_bind_mobile) {
if (!res.data.is_bind_mobile) {
this.loginType = 'bind';
this.clearAllErrors();
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment