From da94e89825eb70bf05f245c73f48567c109b8887 Mon Sep 17 00:00:00 2001 From: itino <yaogogo@88.com> Date: 星期四, 17 十一月 2022 16:41:30 +0800 Subject: [PATCH] add 新增字典数据映射注解,可根据字段数据(sys_dict_data表).dict_type 转换对应的 value 和 label --- 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 391d951..29de49f 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.3