mirror of
https://gitee.com/xuliangzhan_admin/vxe-table.git
synced 2026-01-21 05:27:57 +08:00
16 lines
444 B
TypeScript
16 lines
444 B
TypeScript
import { App } from 'vue'
|
|
import { VXETable } from '../v-x-e-table'
|
|
import VxeTooltipComponent from './src/tooltip'
|
|
import { dynamicApp } from '../dynamics'
|
|
|
|
export const Tooltip = Object.assign(VxeTooltipComponent, {
|
|
install: function (app: App) {
|
|
VXETable.tooltip = true
|
|
app.component(VxeTooltipComponent.name, VxeTooltipComponent)
|
|
}
|
|
})
|
|
|
|
dynamicApp.component(VxeTooltipComponent.name, VxeTooltipComponent)
|
|
|
|
export default Tooltip
|