From 4f1933e2e42268b02a44aa5aa4846f4e3731387d Mon Sep 17 00:00:00 2001 From: 若依 <yzz_ivy@163.com> Date: 星期六, 04 二月 2023 22:21:28 +0800 Subject: [PATCH] !656 tagsView右键选择框,只存在首页时,不应该存在关闭左侧选项 Merge pull request !656 from Giovanni/master --- ruoyi-ui/src/App.vue | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/App.vue b/ruoyi-ui/src/App.vue index 60325ff..a2c4b87 100644 --- a/ruoyi-ui/src/App.vue +++ b/ruoyi-ui/src/App.vue @@ -1,12 +1,16 @@ <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, @@ -15,5 +19,10 @@ } } } -} +}; </script> +<style scoped> +#app .theme-picker { + display: none; +} +</style> -- Gitblit v1.9.2