@@ -294,7 +294,6 @@ | |||
} | |||
const changePhone = () => { | |||
console.log(111) | |||
navTo('/subpackage/personal-center/setting/change-phone', true) | |||
} | |||
@@ -383,6 +383,9 @@ export function requestNew(code, options = {}, start = false, clie = () => {}) { | |||
// requestNew(code, options, true) | |||
// }) | |||
if (!getItem("IsLogin") || getItem("IsLogin") == false) { | |||
// 清除token,防止过期token或者错误token的错误请求 | |||
removeItem(StorageKeys.Token) | |||
removeItem(StorageKeys.OpenId) | |||
setItem("IsLogin", true); | |||
uni.showModal({ | |||
title: "提示", |