From 5a93080a9568aca5118007eb9941db036faf0ebe Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周日, 04 5月 2025 17:10:54 +0800
Subject: [PATCH] 222
---
HIAWms/web/src/components/Select/Select.tsx | 25 +++++++++++++++++++++++++
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/HIAWms/web/src/components/Select/Select.tsx b/HIAWms/web/src/components/Select/Select.tsx
new file mode 100644
index 0000000..055b737
--- /dev/null
+++ b/HIAWms/web/src/components/Select/Select.tsx
@@ -0,0 +1,25 @@
+import { defineComponent } from 'vue'
+import IconButton from '@/components/IconButton/IconButton'
+import { CaretBottom } from '@element-plus/icons-vue'
+import { useVModel } from '@vueuse/core'
+
+export default defineComponent({
+ name: 'Select',
+ props: {},
+ setup(props, { attrs, slots, emit }) {
+ return () => {
+ return (
+ <el-select
+ {...attrs}
+ suffix-icon={
+ <el-icon>
+ <CaretBottom />
+ </el-icon>
+ }
+ >
+ {slots.default?.()}
+ </el-select>
+ )
+ }
+ },
+})
--
Gitblit v1.9.3