From 5eb0efe53ef9b7553827cf7776eb6719665ede08 Mon Sep 17 00:00:00 2001 From: Jason <5340635+wen-jason@user.noreply.gitee.com> Date: Fri, 16 Sep 2022 16:28:56 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=B0=8F=E7=A8=8B=E5=BA=8F-=E7=99=BB?= =?UTF-8?q?=E5=BD=95=EF=BC=9A=E5=90=8E=E5=8F=B0=E4=BF=AE=E6=94=B9=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E8=B4=A6=E5=8F=B7=E5=90=8E=EF=BC=8C=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=86=8D=E7=94=A8=E5=8E=9F=E8=B4=A6=E5=8F=B7=E8=BF=9B=E8=A1=8C?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E6=93=8D=E4=BD=9C=EF=BC=8C=E6=8F=90=E7=A4=BA?= =?UTF-8?q?=E8=AF=AD=E5=B1=95=E7=A4=BA=E6=97=B6=E9=97=B4=E5=A4=AA=E7=9F=AD?= =?UTF-8?q?=E3=80=91https://www.tapd.cn/56509124/bugtrace/bugs/view=3Fbug?= =?UTF-8?q?=5Fid=3D1156509124001003526?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/pages/login/login.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/pages/login/login.vue b/app/src/pages/login/login.vue index 555aae67..f56e5e0b 100644 --- a/app/src/pages/login/login.vue +++ b/app/src/pages/login/login.vue @@ -261,7 +261,7 @@ const loginFun = async (scene: LoginTypeEnum, code?: string) => { loginHandle(data) } catch (error: any) { uni.hideLoading() - throw new Error(error) + uni.$u.toast(error) } } @@ -339,7 +339,7 @@ onShow(async () => { uni.hideLoading() uni.navigateBack() } - } catch (error) { + } catch (error: any) { uni.hideLoading() } })