This commit is contained in:
@@ -39,7 +39,7 @@ export default {
|
||||
doLogin({
|
||||
account: this.form.user,
|
||||
password: this.form.password,
|
||||
}).then(() => {
|
||||
}).finally(() => {
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
|
||||
@@ -33,7 +33,7 @@ export default {
|
||||
},
|
||||
|
||||
appActived() {
|
||||
return this.apps.find((p) => p.active);
|
||||
return this.apps.find((p) => p.active) || {};
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user