diff --git a/pages/API/get-univerify-manager/get-univerify-manager.uvue b/pages/API/get-univerify-manager/get-univerify-manager.uvue index 8a16293250207cd4097468c58225f0248ac5195f..2d62053af216a3544768f518cb04d510ded0f736 100644 --- a/pages/API/get-univerify-manager/get-univerify-manager.uvue +++ b/pages/API/get-univerify-manager/get-univerify-manager.uvue @@ -29,15 +29,11 @@ }, 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({ + uni.showModal({ title: '预登录失败', - position: 'bottom' - }) + content: JSON.parseObject(err.cause?.cause?.message ?? "")?.getString("errorDesc") ?? err.errMsg, + showCancel: false + }); } } as PreLoginOptions); }, @@ -57,15 +53,11 @@ }, 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({ + uni.showModal({ title: '预登录失败', - position: 'bottom' - }) + content: JSON.parseObject(err.cause?.cause?.message ?? "")?.getString("errorDesc") ?? err.errMsg, + showCancel: false + }); } } as PreLoginOptions); } @@ -113,15 +105,11 @@ }, 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({ + uni.showModal({ title: '登录失败', - position: 'bottom' - }) + content: JSON.parseObject(err.cause?.cause?.message ?? "")?.getString("errorDesc") ?? err.errMsg, + showCancel: false + }); } } as LoginOptions); }