jsy-app-static/directive/index.js
2024-09-29 11:05:04 +08:00

10 lines
250 B
JavaScript

import hasPermi from './permission/hasPermi'
const install = function(Vue) {
Vue.directive('hasPermi', hasPermi)
// if (window.Vue) {
// window['hasPermi'] = hasPermi
// Vue.use(install); // eslint-disable-line
// }
}
export default install