|
@@ -73,14 +73,17 @@ import pagesOne from '@publics/src/views/index.vue';
|
|
import { masterInfo } from '@/config/master-info';
|
|
import { masterInfo } from '@/config/master-info';
|
|
import { mapActions, mapState } from 'vuex';
|
|
import { mapActions, mapState } from 'vuex';
|
|
export default {
|
|
export default {
|
|
|
|
+ metaInfo: {
|
|
|
|
+ title: this.siteTitle,
|
|
|
|
+ },
|
|
name: 'request',
|
|
name: 'request',
|
|
props: {},
|
|
props: {},
|
|
components: {
|
|
components: {
|
|
pagesOne,
|
|
pagesOne,
|
|
topMenu,
|
|
topMenu,
|
|
selfCalendar,
|
|
selfCalendar,
|
|
- selfCalendars,
|
|
|
|
- master,
|
|
|
|
|
|
+ // selfCalendars,
|
|
|
|
+ // master,
|
|
},
|
|
},
|
|
data: () => ({
|
|
data: () => ({
|
|
user: 'master',
|
|
user: 'master',
|
|
@@ -106,6 +109,7 @@ export default {
|
|
//master数据
|
|
//master数据
|
|
master: { ...masterInfo },
|
|
master: { ...masterInfo },
|
|
corpList: [],
|
|
corpList: [],
|
|
|
|
+ siteTitle: '',
|
|
}),
|
|
}),
|
|
async created() {
|
|
async created() {
|
|
await this.checkUser();
|
|
await this.checkUser();
|
|
@@ -160,6 +164,7 @@ export default {
|
|
this.getfloating(item);
|
|
this.getfloating(item);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ this.$set(this, `siteTitle`, this.site.name);
|
|
},
|
|
},
|
|
getfloating(item) {
|
|
getfloating(item) {
|
|
let arr = JSON.parse(item);
|
|
let arr = JSON.parse(item);
|