Skip to content

Commit dc62015

Browse files
authored
fix: 部分情况下token已失效,但页面未退出而反复刷新的问题 (#522)
1 parent c473df2 commit dc62015

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lin/plugin/axios.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const config = {
2828
* @param { number } code 错误码
2929
*/
3030
function refreshTokenException(code) {
31-
const codes = [10000, 10042, 10050, 10052]
31+
const codes = [10000, 10042, 10050, 10052, 10012]
3232
return codes.includes(code)
3333
}
3434

0 commit comments

Comments
 (0)