diff --git a/src/global.d.ts b/src/global.d.ts index 178b234d..e99fad98 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -4,6 +4,9 @@ import type { RouteRecordRaw, RouteMeta, NavigationGuard } from 'vue-router' type RecursiveRequired = { [P in keyof T]-?: RecursiveRequired } +type RecursivePartial = { + [P in keyof T]?: RecursivePartial +} declare namespace Settings { interface app { diff --git a/src/layouts/components/AppSetting/index.vue b/src/layouts/components/AppSetting/index.vue index 1c91078a..7e5ba0e9 100644 --- a/src/layouts/components/AppSetting/index.vue +++ b/src/layouts/components/AppSetting/index.vue @@ -1,10 +1,10 @@ @@ -48,9 +51,9 @@ function handleCopy() { 颜色主题
-
+
- +
@@ -59,7 +62,7 @@ function handleCopy() {