From 8653f21636d0c32f48caae65a52aca98cbef8710 Mon Sep 17 00:00:00 2001 From: haoxr <1490493387@qq.com> Date: Mon, 16 Jan 2023 00:48:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9A=97=E9=BB=91=E6=A8=A1=E5=BC=8F?= =?UTF-8?q?=E4=B8=B4=E6=97=B6=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc-auto-import.json | 1 + src/components/Hamburger/index.vue | 10 +- src/components/IconSelect/index.vue | 2 +- src/components/SvgIcon/index.vue | 1 + src/layout/components/Settings/index.vue | 26 +- src/layout/components/TagsView/index.vue | 9 +- src/main.ts | 2 +- src/styles/dark.scss | 11 + src/styles/element-plus.scss | 6 - src/styles/index.scss | 7 +- src/styles/reset.scss | 4 + src/types/auto-imports.d.ts | 2 + src/types/components.d.ts | 2 + src/views/system/menu/index.vue | 438 ++++++++++++----------- src/views/system/role/index.vue | 31 +- 15 files changed, 281 insertions(+), 271 deletions(-) create mode 100644 src/styles/dark.scss create mode 100644 src/styles/reset.scss diff --git a/.eslintrc-auto-import.json b/.eslintrc-auto-import.json index 7c7236b..0d99f35 100644 --- a/.eslintrc-auto-import.json +++ b/.eslintrc-auto-import.json @@ -1,6 +1,7 @@ { "globals": { "EffectScope": true, + "ElForm": true, "ElMessage": true, "ElMessageBox": true, "asyncComputed": true, diff --git a/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue index 4a7e120..24d1f49 100644 --- a/src/components/Hamburger/index.vue +++ b/src/components/Hamburger/index.vue @@ -32,13 +32,13 @@ function toggleClick() { } - diff --git a/src/components/IconSelect/index.vue b/src/components/IconSelect/index.vue index 3a962a4..7da7fbb 100644 --- a/src/components/IconSelect/index.vue +++ b/src/components/IconSelect/index.vue @@ -69,7 +69,7 @@ onMounted(() => { placeholder="点击选择图标" > diff --git a/src/components/SvgIcon/index.vue b/src/components/SvgIcon/index.vue index c5bf019..a595ca0 100644 --- a/src/components/SvgIcon/index.vue +++ b/src/components/SvgIcon/index.vue @@ -32,6 +32,7 @@ const symbolId = computed(() => `#${props.prefix}-${props.iconClass}`);