提交 834f7030 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 5498f4b6
...@@ -100,7 +100,7 @@ export default class API { ...@@ -100,7 +100,7 @@ export default class API {
} else if (res.response) { } else if (res.response) {
const { status, data } = res.response const { status, data } = res.response
if (data) { if (data) {
if (status === 403) { if (status === 403 && !/getinfo$/i.test(res.config.url)) {
if (store.state.isWeapp) { if (store.state.isWeapp) {
wx.miniProgram.navigateTo({ url: '/pages/login/index' }) wx.miniProgram.navigateTo({ url: '/pages/login/index' })
} else { } else {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论