|
@@ -54,21 +54,24 @@ const install = (Vue, vm) => {
|
|
|
localStorage.clear()
|
|
|
} else {
|
|
|
localStorage.setItem('backUrl', location.href)
|
|
|
+ localStorage.removeItem('lifeData')
|
|
|
uni.showModal({
|
|
|
title: '提示',
|
|
|
- content: '用户未注册或注册信息已失效, 请重新登录',
|
|
|
- success: function (res) {
|
|
|
+ content: '未查询到登录信息或信息已失效, 请重新登录',
|
|
|
+ showCancel: false,
|
|
|
+ success: function(res) {
|
|
|
if (res.confirm) {
|
|
|
uni.navigateTo({
|
|
|
url: "/pages/center/phoneLogin/phoneLogin"
|
|
|
})
|
|
|
- } else if (res.cancel) {
|
|
|
- uni.showToast({
|
|
|
- title: '您已取消跳转到登录页',
|
|
|
- icon: 'none',
|
|
|
- duration: 3000
|
|
|
- })
|
|
|
}
|
|
|
+ // else if (res.cancel) {
|
|
|
+ // uni.showToast({
|
|
|
+ // title: '您已取消跳转到登录页',
|
|
|
+ // icon: 'none',
|
|
|
+ // duration: 3000
|
|
|
+ // })
|
|
|
+ // }
|
|
|
}
|
|
|
});
|
|
|
}
|