初始化项目

This commit is contained in:
疯狂的狮子li
2020-02-13 10:48:51 +08:00
parent b279aa391c
commit 2841620be6
447 changed files with 43037 additions and 0 deletions

View File

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