时区显示增加配置
parent
284432ffa4
commit
962ac2e693
|
|
@ -0,0 +1,3 @@
|
||||||
|
window.config = {
|
||||||
|
timeZone: false
|
||||||
|
}
|
||||||
|
|
@ -67,6 +67,7 @@
|
||||||
num = e.data
|
num = e.data
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<script src="./config.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>
|
<noscript>
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@
|
||||||
</div>
|
</div>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
<feedBack v-if="$route.matched.length > 0" />
|
<feedBack v-if="$route.matched.length > 0" />
|
||||||
<!-- <timeTag /> -->
|
<timeTag v-if="config.timeZone" />
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -94,14 +94,14 @@ import {
|
||||||
} from '@/api/dictionary/dictionary'
|
} from '@/api/dictionary/dictionary'
|
||||||
import { getTrialExtralConfig } from '@/api/trials'
|
import { getTrialExtralConfig } from '@/api/trials'
|
||||||
import feedBack from '@/views/trials/trials-layout/components/feedBack'
|
import feedBack from '@/views/trials/trials-layout/components/feedBack'
|
||||||
// import timeTag from '@/components/timeTag'
|
import timeTag from '@/components/timeTag'
|
||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import i18n from './lang'
|
import i18n from './lang'
|
||||||
export default {
|
export default {
|
||||||
name: 'App',
|
name: 'App',
|
||||||
components: {
|
components: {
|
||||||
feedBack,
|
feedBack,
|
||||||
// timeTag
|
timeTag
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
@ -112,6 +112,7 @@ export default {
|
||||||
arr: [],
|
arr: [],
|
||||||
il8nExternal: false,
|
il8nExternal: false,
|
||||||
State: null,
|
State: null,
|
||||||
|
config: window.config
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue