正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -58,7 +58,7 @@ router.beforeEach((to, from, next) => { | @@ -58,7 +58,7 @@ router.beforeEach((to, from, next) => { | ||
58 | axios.interceptors.response.use( | 58 | axios.interceptors.response.use( |
59 | res => { | 59 | res => { |
60 | //对响应数据做些事 | 60 | //对响应数据做些事 |
61 | - if (res.data && res.status===200) { | 61 | + if (res.data && res.status!==200) { |
62 | this.$message({ | 62 | this.$message({ |
63 | // 饿了么的消息弹窗组件,类似toast | 63 | // 饿了么的消息弹窗组件,类似toast |
64 | showClose: true, | 64 | showClose: true, |
-
请 注册 或 登录 后发表评论