Showing
1 changed file
with
4 additions
and
2 deletions
| 1 | /* | 1 | /* |
| 2 | * @Date: 2022-09-19 14:11:06 | 2 | * @Date: 2022-09-19 14:11:06 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2022-11-01 13:29:19 | 4 | + * @LastEditTime: 2022-11-11 16:27:35 |
| 5 | * @FilePath: /swx/src/utils/request.js | 5 | * @FilePath: /swx/src/utils/request.js |
| 6 | * @Description: 简单axios封装,后续按实际处理 | 6 | * @Description: 简单axios封装,后续按实际处理 |
| 7 | */ | 7 | */ |
| ... | @@ -94,9 +94,11 @@ service.interceptors.response.use( | ... | @@ -94,9 +94,11 @@ service.interceptors.response.use( |
| 94 | * 未授权跳转登录页 | 94 | * 未授权跳转登录页 |
| 95 | * 授权完成后 返回当前页面 | 95 | * 授权完成后 返回当前页面 |
| 96 | */ | 96 | */ |
| 97 | + setTimeout(() => { | ||
| 97 | Taro.navigateTo({ | 98 | Taro.navigateTo({ |
| 98 | url: '../../pages/auth/index?url=' + routerStore().url | 99 | url: '../../pages/auth/index?url=' + routerStore().url |
| 99 | - }) | 100 | + }); |
| 101 | + }, 1000); | ||
| 100 | } | 102 | } |
| 101 | return response | 103 | return response |
| 102 | }, | 104 | }, | ... | ... |
-
Please register or login to post a comment