@weixixuan před 2 dny
rodič
revize
acd9e07c1f
2 změnil soubory, kde provedl 3 přidání a 1 odebrání
  1. 0
    1
      pages/user/user.vue
  2. 3
    0
      utils/network/request.js

+ 0
- 1
pages/user/user.vue Zobrazit soubor

@@ -294,7 +294,6 @@
}
const changePhone = () => {
console.log(111)
navTo('/subpackage/personal-center/setting/change-phone', true)
}

+ 3
- 0
utils/network/request.js Zobrazit soubor

@@ -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: "提示",

Načítá se…
Zrušit
Uložit