222
schangxiang@126.com
2025-05-06 928c61ccddebc8d2c697b86ee9bee0c207330a8c
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>
    }
  },
})