From 04c7b0163caeae4ab1c5da62e301fa993101cfad Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期一, 31 三月 2025 10:40:45 +0800 Subject: [PATCH] bug修改 --- pages/testLogin/index.js | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/pages/testLogin/index.js b/pages/testLogin/index.js index 8dc1a28..01c8a86 100644 --- a/pages/testLogin/index.js +++ b/pages/testLogin/index.js @@ -7,7 +7,7 @@ * 椤甸潰鐨勫垵濮嬫暟鎹� */ data: { - textName: "18892081234", + textName: "15111111116", textPassword: "xA123456", loading: false, userInfo: { @@ -40,6 +40,9 @@ icon: "error", duration: 2000 }) + this.setData({ + loading: false + }) } }); }, @@ -60,7 +63,7 @@ defaultUser = { ...teacherInfos, nickName: teacherInfos.fullName, - avatarUrl: teacherInfos.icon, + icon: teacherInfos.icon, userId: res.userId, role: 'Teacher', roleId: teacherRole.role.id @@ -68,13 +71,13 @@ } else if (WeChatInfo) { defaultUser = { nickName: WeChatInfo.name, - avatarUrl: WeChatInfo.icon, + icon: WeChatInfo.icon, userId: res.userId, } } else if (secretData) { defaultUser = { nickName: secretData.credential, - avatarUrl: "../../static/images/index/tab.png", + icon: "", userId: res.userId } } -- Gitblit v1.9.1