From fba2fe69821bda596ab089e3fc223b1a6bfe3e02 Mon Sep 17 00:00:00 2001 From: yinjiacheng Date: Wed, 3 Jul 2024 19:35:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=80=E9=94=AE=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../get-univerify-manager.uvue | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/pages/API/get-univerify-manager/get-univerify-manager.uvue b/pages/API/get-univerify-manager/get-univerify-manager.uvue index 2d62053a..176f1d95 100644 --- a/pages/API/get-univerify-manager/get-univerify-manager.uvue +++ b/pages/API/get-univerify-manager/get-univerify-manager.uvue @@ -29,10 +29,8 @@ }, fail: (err : PreLoginFail) => { console.error("pre login fail => " + JSON.stringify(err)); - uni.showModal({ - title: '预登录失败', - content: JSON.parseObject(err.cause?.cause?.message ?? "")?.getString("errorDesc") ?? err.errMsg, - showCancel: false + uni.showToast({ + title: '预登录失败' }); } } as PreLoginOptions); @@ -53,10 +51,8 @@ }, fail: (err : PreLoginFail) => { console.error("pre login fail => " + JSON.stringify(err)); - uni.showModal({ - title: '预登录失败', - content: JSON.parseObject(err.cause?.cause?.message ?? "")?.getString("errorDesc") ?? err.errMsg, - showCancel: false + uni.showToast({ + title: '预登录失败' }); } } as PreLoginOptions); @@ -105,10 +101,8 @@ }, fail: (err : LoginFail) => { console.error("login fail => " + err); - uni.showModal({ - title: '登录失败', - content: JSON.parseObject(err.cause?.cause?.message ?? "")?.getString("errorDesc") ?? err.errMsg, - showCancel: false + uni.showToast({ + title: '登录失败' }); } } as LoginOptions); -- GitLab