mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 11:13:26 +00:00
no message
This commit is contained in:
parent
25f244c5f1
commit
c1d27399d9
2
public/css/app.css
vendored
2
public/css/app.css
vendored
File diff suppressed because one or more lines are too long
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
1
public/js/build/308.js
vendored
Normal file
1
public/js/build/308.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
public/js/build/52.js
vendored
1
public/js/build/52.js
vendored
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
8977f3c856962b02
|
89f6e62fce9f31af
|
||||||
|
|||||||
@ -248,20 +248,27 @@ export default {
|
|||||||
this.$store.dispatch("call", {
|
this.$store.dispatch("call", {
|
||||||
url: "system/get/starthome",
|
url: "system/get/starthome",
|
||||||
}).then(({data}) => {
|
}).then(({data}) => {
|
||||||
this.homeFooter = data.home_footer;
|
const homeFooter = data.home_footer
|
||||||
|
const needStart = !!data.need_start
|
||||||
|
if (needStart && (this.userId === 0 || this.$route.query.action === 'index')) {
|
||||||
|
this.homeFooter = homeFooter;
|
||||||
|
this.needStartHome = needStart;
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.goNext();
|
||||||
|
}).catch(_ => {
|
||||||
|
this.needStartHome = false;
|
||||||
|
this.goNext();
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
goNext() {
|
||||||
if (this.userId > 0) {
|
if (this.userId > 0) {
|
||||||
this.goForward({name: 'manage-dashboard'}, true);
|
this.goForward({name: 'manage-dashboard'}, true);
|
||||||
} else {
|
} else {
|
||||||
this.needStartHome = !!data.need_start;
|
|
||||||
if (this.needStartHome === false) {
|
|
||||||
this.goForward({name: 'login'}, true);
|
this.goForward({name: 'login'}, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}).catch(_ => {
|
|
||||||
this.needStartHome = false;
|
|
||||||
this.goForward({name: 'login'}, true);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
2
resources/assets/sass/pages/page-index.scss
vendored
2
resources/assets/sass/pages/page-index.scss
vendored
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
.page-header {
|
.page-header {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background: $primary-color;
|
background: #8bcf70;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-bottom: 40px;
|
padding-bottom: 40px;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user