mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 09:44:26 +08:00
code refactor
This commit is contained in:
@@ -144,7 +144,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
if (typeof(data.result.token) === 'string') {
|
||||
if (self.$utils.isString(data.result.token)) {
|
||||
self.$user.updateTokenAndUserInfo(data.result);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user