mirror of
				https://github.com/continew-org/continew-admin-ui.git
				synced 2025-10-31 22:57:15 +08:00 
			
		
		
		
	fix: 修复后端接口响应 code 数据类型变动引发的登录过期提示失效
This commit is contained in:
		| @@ -72,7 +72,7 @@ http.interceptors.response.use( | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     // Token 失效 |     // Token 失效 | ||||||
|     if (code === 401 && response.config.url !== '/auth/user/info') { |     if (code === '401' && response.config.url !== '/auth/user/info') { | ||||||
|       modalErrorWrapper({ |       modalErrorWrapper({ | ||||||
|         title: '提示', |         title: '提示', | ||||||
|         content: msg, |         content: msg, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user