django-vue3-admin-web/node_modules/vxe-pc-ui/packages/form-gather/index.ts
2025-10-20 21:21:14 +08:00

27 lines
733 B
TypeScript

import { App } from 'vue'
import { VxeUI } from '@vxe-ui/core'
import VxeFormGroupComponent from '../form/src/form-group'
import { dynamicApp } from '../dynamics'
const VxeFormGatherComponent = Object.assign({}, VxeFormGroupComponent, { name: 'VxeFormGather' })
/**
* 已废弃,被 VxeFormGather 替换
* @deprecated
*/
export const VxeFormGather = Object.assign(VxeFormGatherComponent, {
install (app: App) {
app.component(VxeFormGatherComponent.name as string, VxeFormGatherComponent)
}
})
dynamicApp.use(VxeFormGather)
VxeUI.component(VxeFormGatherComponent)
/**
* 已废弃,被 FormGroup 替换
* @deprecated
*/
export const FormGather = VxeFormGather
export default VxeFormGather