17 lines
		
	
	
		
			501 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			501 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { App } from 'vue'
 | 
						|
import { VxeUI } from '@vxe-ui/core'
 | 
						|
import VxeTreeSelectComponent from './src/tree-select'
 | 
						|
import { dynamicApp } from '../dynamics'
 | 
						|
 | 
						|
export const VxeTreeSelect = Object.assign({}, VxeTreeSelectComponent, {
 | 
						|
  install (app: App) {
 | 
						|
    app.component(VxeTreeSelectComponent.name as string, VxeTreeSelectComponent)
 | 
						|
  }
 | 
						|
})
 | 
						|
 | 
						|
dynamicApp.use(VxeTreeSelect)
 | 
						|
VxeUI.component(VxeTreeSelectComponent)
 | 
						|
 | 
						|
export const TreeSelect = VxeTreeSelect
 | 
						|
export default VxeTreeSelect
 |