fixbug
This commit is contained in:
parent
27bb29b7a2
commit
6416bcf4b9
@ -32,8 +32,8 @@ const request = new Request({
|
||||
// response.config.headers["Authorization"] = response.data.data.Token;
|
||||
// }
|
||||
if (response.data.code === 401) {
|
||||
uni.clearStorageSync()
|
||||
const params = new URLSearchParams(window.location.search)
|
||||
uni.clearStorageSync()//清缓存
|
||||
const params = new URLSearchParams(window.location.search)//属性包含当前 URL 的查询字符串部分
|
||||
const id = params.get('id')
|
||||
const pid = params.get('pid')
|
||||
uni.navigateTo({
|
||||
|
Loading…
Reference in New Issue
Block a user