wms-njlm/src/App.vue

40 lines
681 B
Vue
Raw Normal View History

2024-05-11 15:21:48 +08:00
<!--
* @Author: zwq
* @Date: 2023-08-17 15:10:52
* @LastEditors: zwq
* @LastEditTime: 2024-04-29 14:12:16
* @Description:
-->
2023-09-08 15:38:33 +08:00
<template>
2024-05-11 15:21:48 +08:00
<div id="app">
<router-view />
<theme-picker />
</div>
2023-09-08 15:38:33 +08:00
</template>
<script>
2024-05-11 15:21:48 +08:00
import ThemePicker from '@/components/ThemePicker';
2023-09-08 15:38:33 +08:00
export default {
2024-05-11 15:21:48 +08:00
name: 'App',
components: { ThemePicker },
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;
},
};
},
2023-09-08 15:38:33 +08:00
};
</script>
<style scoped>
#app .theme-picker {
2024-05-11 15:21:48 +08:00
display: none;
2023-09-08 15:38:33 +08:00
}
</style>