修改切换账号绑定小区

This commit is contained in:
zhouyanli
2026-06-09 17:11:25 +08:00
parent ebdfa8d95e
commit aaf828c6e3
15 changed files with 54 additions and 29 deletions

View File

@@ -155,6 +155,7 @@ const getVerifyCode = () => {
});
}
}).catch(err => {
uni.hideLoading();
uni.showToast({
title: '网络异常',
icon: 'error'
@@ -195,6 +196,7 @@ const handleLogin = () => {
}
getLoginBySms(params).then(res =>{
if(res.code === 200){
uni.hideLoading();
if(res.data){
uni.setStorageSync('token', res.data.token);
// 存用户ID
@@ -219,6 +221,7 @@ const handleLogin = () => {
}
}).catch(err => {
uni.hideLoading();
uni.showToast({
title: err.msg || '网络异常,请重试',
icon: 'error'