mirror of
https://github.com/kuaifan/dootask.git
synced 2026-02-28 04:40:37 +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", {
|
||||
url: "system/get/starthome",
|
||||
}).then(({data}) => {
|
||||
this.homeFooter = data.home_footer;
|
||||
if (this.userId > 0) {
|
||||
this.goForward({name: 'manage-dashboard'}, true);
|
||||
} else {
|
||||
this.needStartHome = !!data.need_start;
|
||||
if (this.needStartHome === false) {
|
||||
this.goForward({name: 'login'}, true);
|
||||
}
|
||||
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.goForward({name: 'login'}, true);
|
||||
this.goNext();
|
||||
});
|
||||
},
|
||||
|
||||
goNext() {
|
||||
if (this.userId > 0) {
|
||||
this.goForward({name: 'manage-dashboard'}, true);
|
||||
} else {
|
||||
this.goForward({name: 'login'}, true);
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
</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 {
|
||||
width: 100%;
|
||||
background: $primary-color;
|
||||
background: #8bcf70;
|
||||
position: relative;
|
||||
padding-bottom: 40px;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user