From dd9ca4df1e2a72707de5ae4e57e081d89db01a36 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期二, 31 十二月 2024 15:09:06 +0800 Subject: [PATCH] 批量操作 --- pages/testLogin/index.js | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pages/testLogin/index.js b/pages/testLogin/index.js index e83f718..01c8a86 100644 --- a/pages/testLogin/index.js +++ b/pages/testLogin/index.js @@ -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