mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 16:24:25 +08:00
modify name
This commit is contained in:
@@ -175,7 +175,7 @@ export default {
|
||||
self.loading = false;
|
||||
const data = response.data;
|
||||
|
||||
if (!data || !data.success || !data.result || !self.$utils.isBoolean(data.result.enable)) {
|
||||
if (!data || !data.success || !data.result || !self.$utilities.isBoolean(data.result.enable)) {
|
||||
self.$alert('Unable to get current two factor authentication status', () => {
|
||||
router.back();
|
||||
});
|
||||
|
||||
@@ -242,11 +242,11 @@ export default {
|
||||
return;
|
||||
}
|
||||
|
||||
if (self.$utils.isString(data.result.newToken)) {
|
||||
if (self.$utilities.isString(data.result.newToken)) {
|
||||
self.$user.updateToken(data.result.newToken);
|
||||
}
|
||||
|
||||
if (self.$utils.isObject(data.result.user)) {
|
||||
if (self.$utilities.isObject(data.result.user)) {
|
||||
self.$user.updateUserInfo(data.result.user);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user