no message

This commit is contained in:
kuaifan 2022-06-21 15:38:52 +08:00
parent 25f244c5f1
commit c1d27399d9
7 changed files with 21 additions and 14 deletions

2
public/css/app.css vendored

File diff suppressed because one or more lines are too long

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
8977f3c856962b02
89f6e62fce9f31af

View File

@ -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>

View File

@ -12,7 +12,7 @@
.page-header {
width: 100%;
background: $primary-color;
background: #8bcf70;
position: relative;
padding-bottom: 40px;