From 5f1a99026511f4ed521891829b67ef6c177f82e5 Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周二, 06 5月 2025 15:46:15 +0800 Subject: [PATCH] 出入库记录 --- HIAWms/web/src/components/ElSelect/ElOption.tsx | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/HIAWms/web/src/components/ElSelect/ElOption.tsx b/HIAWms/web/src/components/ElSelect/ElOption.tsx new file mode 100644 index 0000000..7451a78 --- /dev/null +++ b/HIAWms/web/src/components/ElSelect/ElOption.tsx @@ -0,0 +1,13 @@ +import { defineComponent } from 'vue' +import IconButton from '@/components/IconButton/IconButton' +import { CaretBottom } from '@element-plus/icons-vue' + +export default defineComponent<{ [key: string]: any }>({ + name: 'Option', + + setup(props, { attrs, slots, emit }) { + return () => { + return <el-option {...attrs}>{slots.default?.()}</el-option> + } + }, +}) -- Gitblit v1.9.3