mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 03:01:12 +00:00
fix: 客户端打开不自动登录的问题
This commit is contained in:
parent
ceee696443
commit
665184bfa2
@ -218,7 +218,11 @@ export default {
|
||||
getNeedStartHome() {
|
||||
if (this.$Electron) {
|
||||
this.needStartHome = false;
|
||||
this.goForward({name: 'login'}, true);
|
||||
if (this.userId > 0) {
|
||||
this.goForward({name: 'manage-dashboard'}, true);
|
||||
} else {
|
||||
this.goForward({name: 'login'}, true);
|
||||
}
|
||||
return;
|
||||
}
|
||||
this.$store.dispatch("call", {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user