Skip to content
  • 当前项目
    • 正在载入...
  • 登录

林春 / doone-electron

转到一个项目
切换导航栏
切换导航栏固定状态
  • 项目
  • 群组
  • 代码片段
  • 帮助
  • 项目
  • 活动
  • 版本库
  • 流水线
  • 图表
  • 问题 0
  • 合并请求 0
  • 维基
  • 网络
  • 创建新的问题
  • 作业
  • 提交
  • 问题看板
  • 文件
  • 提交
  • 网络
  • 比较
  • 分支
  • 标签
切换分支/标签
  • doone-electron
  • src
  • utils
  • tableHeight
  • index.js
  • Linchun's avatar
    第一次提交 · dc6ab566
    Linchun 提交于 2021-11-26 16:47:07 +0800
    dc6ab566
index.js 323 字节
原文件 审查 历史 永久链接
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import tableHeight from './tableHeight'

const install = function(Vue) {
  // 绑定v-adaptive指令
  Vue.directive('tableHeight', tableHeight)
}

if (window.Vue) {
  window['tableHeight'] = tableHeight
  // eslint-disable-next-line no-undef
  Vue.use(install)
}

tableHeight.install = install

export default tableHeight