schangxiang@126.com
2025-05-18 80951531fd05d1a7a5238c4995d31e321335e3df
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>
    }
  },
})