邓洁 : 修改细节
This commit is contained in:
@@ -109,6 +109,9 @@
|
||||
uni.setStorageSync("uid", data.user_id)
|
||||
uni.setStorageSync("member", data.member)
|
||||
}
|
||||
if (res.data.msg == "登录超时,请重新登录") {
|
||||
this.isLoad = false
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const serverHost = 'https://spsp.feashow.com/api' //http://xx.xxx.xx
|
||||
function isOutTime(res) {
|
||||
if (res.data.msg == '登录超时,请重新登录') {
|
||||
uni.showToast('登录信息已过期,请重新登录')
|
||||
// uni.showToast('登录信息已过期,请重新登录')
|
||||
// setTimeout(() => {
|
||||
uni.redirectTo({
|
||||
url: '/pages/login/login'
|
||||
|
||||
Reference in New Issue
Block a user