From 5ca38e4ef60e35f08e87d6569b72c25433c311ca Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期二, 26 三月 2024 17:05:14 +0800 Subject: [PATCH] 答题器bug修改,添加请求地址 --- pages/testLogin/index.js | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/testLogin/index.js b/pages/testLogin/index.js index 8dc1a28..4c0e7be 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: { @@ -39,6 +39,9 @@ title: res.message || "鎵嬫満鍙锋垨瀵嗙爜閿欒", icon: "error", duration: 2000 + }) + this.setData({ + loading: false }) } }); @@ -74,7 +77,7 @@ } else if (secretData) { defaultUser = { nickName: secretData.credential, - avatarUrl: "../../static/images/index/tab.png", + avatarUrl: "", userId: res.userId } } -- Gitblit v1.9.1