index.ts 365 B

12345678910111213
  1. import TreeSelect from './src/tree-select.vue'
  2. import type { App } from 'vue'
  3. import type { SFCWithInstall } from '@element-plus/utils'
  4. TreeSelect.install = (app: App): void => {
  5. app.component(TreeSelect.name, TreeSelect)
  6. }
  7. const _TreeSelect = TreeSelect as SFCWithInstall<typeof TreeSelect>
  8. export default _TreeSelect
  9. export const ElTreeSelect = _TreeSelect