diff --git a/pages/API/get-univerify-manager/get-univerify-manager.uvue b/pages/API/get-univerify-manager/get-univerify-manager.uvue index 2d62053af216a3544768f518cb04d510ded0f736..176f1d95eeb84cebef618ab771e351c1e21720cd 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);