mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
show user nickname in settings page
This commit is contained in:
@@ -170,7 +170,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
self.$user.updateToken(data.result.token);
|
||||
self.$user.updateToken(data.result);
|
||||
router.navigate('/');
|
||||
}).catch(error => {
|
||||
hasResponse = true;
|
||||
@@ -225,7 +225,7 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
self.$user.updateToken(data.result.token);
|
||||
self.$user.updateToken(data.result);
|
||||
app.sheet.close('#2fa-auth-sheet');
|
||||
router.navigate('/');
|
||||
}).catch(error => {
|
||||
|
||||
Reference in New Issue
Block a user