登陆失败,弹出后端返回的msg

This commit is contained in:
FengHui
2026-04-07 17:51:22 +08:00
parent 15668dc769
commit b1942e90e0
2 changed files with 3 additions and 2 deletions

View File

@@ -277,7 +277,8 @@ const getPhoneNumber = (e) => {
$api.msg('获取用户信息失败');
});
} else {
$api.msg('登录失败,请重试');
// $api.msg('登录失败,请重试');
$api.msg(resData.msg || '登录失败,请重试');
}
}).catch((err) => {
uni.hideLoading();