14 lines
287 B
JavaScript
14 lines
287 B
JavaScript
|
import adaptive from './adaptive'
|
||
|
|
||
|
const install = function(Vue) {
|
||
|
Vue.directive('el-height-adaptive-table', adaptive)
|
||
|
}
|
||
|
|
||
|
if (window.Vue) {
|
||
|
window['el-height-adaptive-table'] = adaptive
|
||
|
Vue.use(install); // eslint-disable-line
|
||
|
}
|
||
|
|
||
|
adaptive.install = install
|
||
|
export default adaptive
|