登陆失败,弹出后端返回的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('获取用户信息失败'); $api.msg('获取用户信息失败');
}); });
} else { } else {
$api.msg('登录失败,请重试'); // $api.msg('登录失败,请重试');
$api.msg(resData.msg || '登录失败,请重试');
} }
}).catch((err) => { }).catch((err) => {
uni.hideLoading(); uni.hideLoading();

View File

@@ -218,7 +218,7 @@
@confirm="sendMessage" @confirm="sendMessage"
:disabled="isTyping" :disabled="isTyping"
:adjust-position="true" :adjust-position="true"
placeholder="请输入您的职位名称、薪资要求、岗位地址" placeholder="请输入您想找的岗位信息或就政策信息【比如:设计师、10000-12000、广州】【比如:今年喀什地区高校毕业生有什么就业政策】"
v-show="!isVoice" v-show="!isVoice"
/> />
<view <view