From 7644a877181b30602cf05dfa7016323284f33bc5 Mon Sep 17 00:00:00 2001 From: RuoYi Date: Thu, 5 Dec 2024 16:45:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/variables.module.scss | 5 ++++- src/components/Editor/index.vue | 2 +- src/views/system/config/index.vue | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/assets/styles/variables.module.scss b/src/assets/styles/variables.module.scss index 27941ab..09e510b 100644 --- a/src/assets/styles/variables.module.scss +++ b/src/assets/styles/variables.module.scss @@ -1,6 +1,6 @@ // base color $blue: #324157; -$light-blue: #3A71A8; +$light-blue: #333c46; $red: #C03639; $pink: #E65D6E; $green: #30B08F; @@ -128,6 +128,9 @@ html.dark { /* 侧边栏菜单覆盖 */ .sidebar-container { + .el-menu-item, .menu-title { + color: var(--el-text-color-regular); + } & .theme-dark .nest-menu .el-sub-menu>.el-sub-menu__title, & .theme-dark .el-sub-menu .el-menu-item { background-color: var(--el-bg-color) !important; diff --git a/src/components/Editor/index.vue b/src/components/Editor/index.vue index 0a696f2..1bd01ed 100644 --- a/src/components/Editor/index.vue +++ b/src/components/Editor/index.vue @@ -108,7 +108,7 @@ const styles = computed(() => { const content = ref(""); watch(() => props.modelValue, (v) => { if (v !== content.value) { - content.value = v === undefined ? "

" : v; + content.value = v == undefined ? "

" : v; } }, { immediate: true }); diff --git a/src/views/system/config/index.vue b/src/views/system/config/index.vue index 3c567c3..653af8a 100644 --- a/src/views/system/config/index.vue +++ b/src/views/system/config/index.vue @@ -20,7 +20,7 @@ /> - +