From 7b8747c8319c86a06b7cf1cf533b67d3b73d9027 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期四, 16 三月 2023 15:19:25 +0800 Subject: [PATCH] fix 修复 项目部署监控路径错误 --- ruoyi-ui/src/App.vue | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/App.vue b/ruoyi-ui/src/App.vue index e448b11..29de49f 100644 --- a/ruoyi-ui/src/App.vue +++ b/ruoyi-ui/src/App.vue @@ -1,11 +1,28 @@ <template> <div id="app"> <router-view /> + <theme-picker /> </div> </template> <script> -export default { - name: 'App' -} +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