From f142289a5ba9eaeeb2b9a50fe79362558e3c816f Mon Sep 17 00:00:00 2001 From: inter Date: Mon, 8 Sep 2025 16:36:34 +0800 Subject: [PATCH] Add File --- frontend/src/components/icon-custom/index.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 frontend/src/components/icon-custom/index.ts diff --git a/frontend/src/components/icon-custom/index.ts b/frontend/src/components/icon-custom/index.ts new file mode 100644 index 0000000..5183726 --- /dev/null +++ b/frontend/src/components/icon-custom/index.ts @@ -0,0 +1,9 @@ +import { h } from 'vue' +import { ElIcon } from 'element-plus-secondary' +import Icon from './src/Icon.vue' +const hIcon = (name: string) => { + return h(ElIcon, null, { + default: () => h(name), + }) +} +export { Icon, hIcon }