/*
 * @Author: your name
 * @Date: 2021-09-07 15:18:36
 * @LastEditTime: 2021-09-28 06:41:17
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \lowcode-ui\examples\directive\permission\index.js
 */
import hasPermi from './hasPermi'

const install = function (Vue) {
  Vue.directive('hasPermi', hasPermi)
}

if (window.Vue) {
  window['hasPermi'] = hasPermi
  Vue.use(install); // eslint-disable-line
}

export default install
