Showing
1 changed file
with
2 additions
and
0 deletions
| ... | @@ -41,6 +41,8 @@ axios.interceptors.response.use( | ... | @@ -41,6 +41,8 @@ axios.interceptors.response.use( |
| 41 | } | 41 | } |
| 42 | }); | 42 | }); |
| 43 | } | 43 | } |
| 44 | + // 默认显示 | ||
| 45 | + response.data.show = true; | ||
| 44 | // 拦截B端未登录情况 | 46 | // 拦截B端未登录情况 |
| 45 | if (response.data.msg === '老师请先登录!' || response.data.msg === '老师不存在!') { | 47 | if (response.data.msg === '老师请先登录!' || response.data.msg === '老师不存在!') { |
| 46 | router.replace({ | 48 | router.replace({ | ... | ... |
-
Please register or login to post a comment