提交 a60b5fae 编写于 作者: 雪洛's avatar 雪洛

feat: token为空时抛出校验token失败的错误以便uniIdRouter能正常跳转

上级 c94820c7
...@@ -353,10 +353,7 @@ export default class TokenUtils { ...@@ -353,10 +353,7 @@ export default class TokenUtils {
} = {}) { } = {}) {
if (!token) { if (!token) {
throw { throw {
errCode: ERROR.PARAM_REQUIRED, errCode: ERROR.CHECK_TOKEN_FAILED
errMsgValue: {
param: 'token'
}
} }
} }
this.oldToken = token this.oldToken = token
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册