|
@@ -73,9 +73,6 @@ import pagesOne from '@publics/src/views/index.vue';
|
|
|
import { masterInfo } from '@/config/master-info';
|
|
|
import { mapActions, mapState } from 'vuex';
|
|
|
export default {
|
|
|
- metaInfo: {
|
|
|
- title: this.siteTitle,
|
|
|
- },
|
|
|
name: 'request',
|
|
|
props: {},
|
|
|
components: {
|
|
@@ -111,6 +108,9 @@ export default {
|
|
|
corpList: [],
|
|
|
siteTitle: '',
|
|
|
}),
|
|
|
+ metaInfo: {
|
|
|
+ title: this.siteTitle,
|
|
|
+ },
|
|
|
async created() {
|
|
|
await this.checkUser();
|
|
|
await this.getSite();
|
|
@@ -154,17 +154,18 @@ export default {
|
|
|
this.getfloating(item);
|
|
|
}
|
|
|
this.$set(this, `site`, result.data);
|
|
|
+ this.$set(this, `siteTitle`, this.site.name);
|
|
|
}
|
|
|
} else {
|
|
|
// console.log(JSON.parse(site));
|
|
|
this.$set(this, `site`, JSON.parse(site));
|
|
|
+ this.$set(this, `siteTitle`, this.site.name);
|
|
|
let arr = this.site;
|
|
|
if (arr.custom) {
|
|
|
let item = arr.custom;
|
|
|
this.getfloating(item);
|
|
|
}
|
|
|
}
|
|
|
- this.$set(this, `siteTitle`, this.site.name);
|
|
|
},
|
|
|
getfloating(item) {
|
|
|
let arr = JSON.parse(item);
|