提交 3cc41e92 编写于 作者: DCloud_JSON's avatar DCloud_JSON

更新 错误提示

上级 5960132f
...@@ -45,9 +45,10 @@ export default class Univerify { ...@@ -45,9 +45,10 @@ export default class Univerify {
const currentPage = pages[pages.length - 1] const currentPage = pages[pages.length - 1]
const loginPageRoute = "uni_modules/uni-id-pages-x/pages/login/login" const loginPageRoute = "uni_modules/uni-id-pages-x/pages/login/login"
if(currentPage.route === loginPageRoute){ if(currentPage.route === loginPageRoute){
uni.showToast({ uni.showModal({
title: err.errMsg, title: '预登录失败',
icon: 'none' content: JSON.parseObject(err.cause?.cause?.message ?? "")?.getString("errorDesc") ?? err.errMsg,
showCancel: false
}); });
}else{ }else{
// 获取除一键登录以外的登录方式 // 获取除一键登录以外的登录方式
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册