jsy-app/directive/index.js

10 lines
250 B
JavaScript
Raw Normal View History

2024-09-18 10:30:10 +08:00
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