|
|
@ -86,13 +86,10 @@ |
|
|
showCancel: true, |
|
|
showCancel: true, |
|
|
success: function(ress){ |
|
|
success: function(ress){ |
|
|
if(ress.confirm){ |
|
|
if(ress.confirm){ |
|
|
const param = { |
|
|
logout().then(res => { |
|
|
phone: that.userInfo.phone |
|
|
if (res.data.code === 200) { |
|
|
} |
|
|
|
|
|
logout(param).then(res => { |
|
|
|
|
|
if (res.data.data === true) { |
|
|
|
|
|
uni.reLaunch({ |
|
|
uni.reLaunch({ |
|
|
url: '/pages/login/login', |
|
|
url: '/pages/index/index', |
|
|
success() { |
|
|
success() { |
|
|
uni.clearStorage(); |
|
|
uni.clearStorage(); |
|
|
uni.showToast({ |
|
|
uni.showToast({ |
|
|
|