From 771a1045ee3ef382d02b08afb620ef0b34d9d13a Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期二, 31 一月 2023 22:13:58 +0800 Subject: [PATCH] update 重构 抽取 jackson 功能 ruoyi-common-json 成为独立模块 --- ruoyi-ui/src/App.vue | 39 ++++++++++++++++++++++++++++----------- 1 files changed, 28 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/App.vue b/ruoyi-ui/src/App.vue index 1d0634c..29de49f 100644 --- a/ruoyi-ui/src/App.vue +++ b/ruoyi-ui/src/App.vue @@ -1,11 +1,28 @@ -<template> - <div id="app"> - <router-view /> - </div> -</template> - -<script> -export default { - name: 'App' -} -</script> +<template> + <div id="app"> + <router-view /> + <theme-picker /> + </div> +</template> + +<script> +import ThemePicker from "@/components/ThemePicker"; + +export default { + 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 + } + } + } +}; +</script> +<style scoped> +#app .theme-picker { + display: none; +} +</style> -- Gitblit v1.9.3