diff --git a/src/components.d.ts b/src/components.d.ts
deleted file mode 100644
index 94e8b829..00000000
--- a/src/components.d.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-// 全局组件类型声明
-import Pagination from '@/components/Pagination/index.vue';
-
-declare module '@vue/runtime-core' {
- export interface GlobalComponents {
- Pagination: typeof Pagination;
- }
-}
-export {};
diff --git a/src/components/IconSelect/index.vue b/src/components/IconSelect/index.vue
index 864aa837..96124980 100644
--- a/src/components/IconSelect/index.vue
+++ b/src/components/IconSelect/index.vue
@@ -5,7 +5,7 @@ const props = defineProps({
require: false
},
/**
- * 选择器宽度
+ * 图标选择器宽度
*/
width: {
type: String,
@@ -36,9 +36,8 @@ function loadIcons() {
* 筛选图标
*/
function handleIconFilter() {
- console.log('筛选关键字', filterValue.value);
if (filterValue.value) {
- filterIconNames.value = filterIconNames.value.filter(iconName =>
+ filterIconNames.value = iconNames.filter(iconName =>
iconName.includes(filterValue.value)
);
} else {
diff --git a/src/env.d.ts b/src/env.d.ts
deleted file mode 100644
index bcddf3e8..00000000
--- a/src/env.d.ts
+++ /dev/null
@@ -1,19 +0,0 @@
-///
-
-declare module '*.vue' {
- import { DefineComponent } from 'vue';
- // eslint-disable-next-line @typescript-eslint/no-explicit-any, @typescript-eslint/ban-types
- const component: DefineComponent<{}, {}, any>;
- export default component;
-}
-
-// 环境变量 TypeScript的智能提示
-interface ImportMetaEnv {
- VITE_APP_TITLE: string;
- VITE_APP_PORT: string;
- VITE_APP_BASE_API: string;
-}
-
-interface ImportMeta {
- readonly env: ImportMetaEnv;
-}
diff --git a/src/types/components.d.ts b/src/types/components.d.ts
index cd003ff1..7b221c07 100644
--- a/src/types/components.d.ts
+++ b/src/types/components.d.ts
@@ -45,21 +45,16 @@ declare module '@vue/runtime-core' {
ElTabs: typeof import('element-plus/es')['ElTabs']
ElTag: typeof import('element-plus/es')['ElTag']
ElTooltip: typeof import('element-plus/es')['ElTooltip']
- ElTree: typeof import('element-plus/es')['ElTree']
ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
ElUpload: typeof import('element-plus/es')['ElUpload']
GithubCorner: typeof import('./../components/GithubCorner/index.vue')['default']
Hamburger: typeof import('./../components/Hamburger/index.vue')['default']
IconSelect: typeof import('./../components/IconSelect/index.vue')['default']
- IEpAddLocation: typeof import('~icons/ep/add-location')['default']
- IEpAim: typeof import('~icons/ep/aim')['default']
IEpCaretBottom: typeof import('~icons/ep/caret-bottom')['default']
IEpCaretTop: typeof import('~icons/ep/caret-top')['default']
- IEpCircleCheckFilled: typeof import('~icons/ep/circle-check-filled')['default']
IEpClose: typeof import('~icons/ep/close')['default']
IEpDownload: typeof import('~icons/ep/download')['default']
- IEpEdit: typeof import('~icons/ep/edit')['default']
- IEpIcon: typeof import('~icons/ep/icon')['default']
+ IEpPlus: typeof import('~icons/ep/plus')['default']
IEpTop: typeof import('~icons/ep/top')['default']
LangSelect: typeof import('./../components/LangSelect/index.vue')['default']
MultiUpload: typeof import('./../components/Upload/MultiUpload.vue')['default']
diff --git a/src/views/component/editor.vue b/src/views/component/editor.vue
deleted file mode 100644
index b0f9a870..00000000
--- a/src/views/component/editor.vue
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/src/views/component/uploader.vue b/src/views/component/uploader.vue
deleted file mode 100644
index 8a4ab8b3..00000000
--- a/src/views/component/uploader.vue
+++ /dev/null
@@ -1,33 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/demo/editor.vue b/src/views/demo/editor.vue
new file mode 100644
index 00000000..26c6e0c3
--- /dev/null
+++ b/src/views/demo/editor.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
diff --git a/src/views/demo/icon-selector.vue b/src/views/demo/icon-selector.vue
new file mode 100644
index 00000000..e49d3cc1
--- /dev/null
+++ b/src/views/demo/icon-selector.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/views/demo/uploader.vue b/src/views/demo/uploader.vue
new file mode 100644
index 00000000..6a22dffd
--- /dev/null
+++ b/src/views/demo/uploader.vue
@@ -0,0 +1,26 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue
index 730da420..773f65c6 100644
--- a/src/views/system/menu/index.vue
+++ b/src/views/system/menu/index.vue
@@ -252,8 +252,6 @@