修改首页、引导页等样式问题;对接登录接口

This commit is contained in:
zhouyanli
2026-05-08 17:54:42 +08:00
parent 97f8973f39
commit c3edf615fc
18 changed files with 113 additions and 517 deletions

View File

@@ -89,7 +89,7 @@ const handleConfirm = () => {
}
getResetPassword(params).then(res =>{
if(res.code === 200){
//uni.setStorageSync('token', res.token); // 假设后端返回token字段
//uni.setStorageSync('token', res.token); // 后端返回token字段
uni.showToast({ title: '修改成功', icon: 'success' });
setTimeout(() =>{
uni.navigateTo({ url: '/pageSubPack/loginSub/pwd-login' });
@@ -100,7 +100,7 @@ const handleConfirm = () => {
}
}).catch(err =>{
uni.showToast({
title: '网络异常',
title: err.msg,
icon: 'error'
});
})