schangxiang@126.com
2025-05-21 a3a2b238a2626ef8744e7a135f9ca2e2fbb5184c
1
2
3
4
5
6
7
8
9
10
11
12
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>
    }
  },
})