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 | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/ruoyi-ui/src/App.vue b/ruoyi-ui/src/App.vue new file mode 100644 index 0000000..29de49f --- /dev/null +++ b/ruoyi-ui/src/App.vue @@ -0,0 +1,28 @@ +<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