mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-21 10:14:26 +08:00
code refactor
This commit is contained in:
@@ -178,7 +178,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
self.$user.updateToken(data.result);
|
||||
self.$user.updateTokenAndUserInfo(data.result);
|
||||
router.navigate('/');
|
||||
}).catch(error => {
|
||||
self.logining = false;
|
||||
@@ -234,7 +234,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
self.$user.updateToken(data.result);
|
||||
self.$user.updateTokenAndUserInfo(data.result);
|
||||
self.show2faSheet = false;
|
||||
router.navigate('/');
|
||||
}).catch(error => {
|
||||
|
||||
Reference in New Issue
Block a user