From 05fdc8d4a2c280cffcadfdaf7c7a11e22f53798e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Fri, 8 Sep 2023 18:30:00 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=E5=B7=A6=E4=BE=A7=E8=8F=9C=E5=8D=95N?= =?UTF-8?q?ew=E6=A0=87=E8=AE=B0=E6=96=B0=E5=A2=9E=E5=8F=AF=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Sidebar/SidebarItem.vue | 14 +++++++++++--- src/settings.js | 8 ++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue index 83a54ba..7caeb46 100644 --- a/src/layout/components/Sidebar/SidebarItem.vue +++ b/src/layout/components/Sidebar/SidebarItem.vue @@ -9,7 +9,11 @@ @@ -20,7 +24,11 @@ {{ $t(item.meta.titleKey) }} {{ item.meta.title }} - + @@ -32,7 +40,7 @@ import { isExternal } from '@/utils/validate' import AppLink from './Link' import { getNormalPath } from '@/utils/ruoyi' - +import defaultSettings from '@/settings' const props = defineProps({ // route object item: { diff --git a/src/settings.js b/src/settings.js index 77533c5..0062a15 100644 --- a/src/settings.js +++ b/src/settings.js @@ -14,7 +14,7 @@ export default { /** * 框架主题颜色值 */ - theme: '#FF8C00', + theme: '#409EFF', /** * 是否系统布局配置 */ @@ -79,5 +79,9 @@ export default { /** * 默认语言 */ - defaultLang: 'zh-cn' + defaultLang: 'zh-cn', + /** + * 左侧菜单是否显示New标记 + */ + menuShowNew: false }