You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
498 B
16 lines
498 B
import { VueConstructor } from 'vue'
|
|
import { VxeUI } from '@vxe-ui/core'
|
|
import VxeOptgroupComponent from '../select/src/optgroup'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const VxeOptgroup = Object.assign(VxeOptgroupComponent, {
|
|
install: function (app: VueConstructor) {
|
|
app.component(VxeOptgroupComponent.name as string, VxeOptgroupComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.use(VxeOptgroup)
|
|
VxeUI.component(VxeOptgroupComponent)
|
|
|
|
export const Optgroup = VxeOptgroup
|
|
export default VxeOptgroup
|
|
|