diff --git a/components.d.ts b/components.d.ts index 268ad2d..b0b6fda 100644 --- a/components.d.ts +++ b/components.d.ts @@ -43,6 +43,7 @@ declare module '@vue/runtime-core' { ElRow: typeof import('element-plus/es')['ElRow'] ElScrollbar: typeof import('element-plus/es')['ElScrollbar'] ElSelect: typeof import('element-plus/es')['ElSelect'] + ElSlider: typeof import('element-plus/es')['ElSlider'] ElSubMenu: typeof import('element-plus/es')['ElSubMenu'] ElSwitch: typeof import('element-plus/es')['ElSwitch'] ElTable: typeof import('element-plus/es')['ElTable'] diff --git a/src/router/index.ts b/src/router/index.ts index 67bb33e..4625ae6 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -327,18 +327,18 @@ export const asyncRoutes:RouteRecordRaw[] = [ meta: { hidden: true } }, - // { - // path: '/theme', - // component: Layout, - // children: [ - // { - // path: 'index', - // component: () => import('@/views/theme/index'), - // name: 'Theme', - // meta: { title: 'Theme', icon: 'theme' } - // } - // ] - // }, + { + path: '/theme', + component: Layout, + children: [ + { + path: 'index', + component: () => import('@/views/theme/index.vue'), + name: 'Theme', + meta: { title: 'Theme', icon: 'theme' } + } + ] + }, { path: '/clipboard', diff --git a/src/views/theme/index.vue b/src/views/theme/index.vue new file mode 100644 index 0000000..a167474 --- /dev/null +++ b/src/views/theme/index.vue @@ -0,0 +1,137 @@ + + + + +