38 lines
1.1 KiB
Vue
38 lines
1.1 KiB
Vue
|
|
<template>
|
||
|
|
<div id="app">
|
||
|
|
<router-view />
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
export default {
|
||
|
|
name: 'App',
|
||
|
|
metaInfo() {
|
||
|
|
return {
|
||
|
|
title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
|
||
|
|
titleTemplate: title => {
|
||
|
|
// return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
|
||
|
|
// return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
created() {
|
||
|
|
this.zoneDomain=document.domain;
|
||
|
|
this.$store.dispatch("zoneConfig/initZoneInfo", this.zoneDomain).then(() => {
|
||
|
|
// console.log("initOK");
|
||
|
|
// let settings=this.$store.state.zoneDomain;
|
||
|
|
// this.zoneConfig.logoUrl=settings.logoUrl;
|
||
|
|
// this.zoneConfig.homeUrl="http://"+this.zoneDomain;
|
||
|
|
// this.zoneConfig.kfqrImage=settings.kfqrImage;
|
||
|
|
// this.zoneConfig.logoInnerPicUrl=settings.logoInnerPicUrl;
|
||
|
|
});
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style scoped>
|
||
|
|
body .el-table th.gutter{
|
||
|
|
display: table-cell!important;
|
||
|
|
}
|
||
|
|
</style>
|