v3.6.0 自定义弹窗拖拽指令

This commit is contained in:
YunaiV
2022-02-16 22:01:37 +08:00
parent bc400cf646
commit 8b31b65ac1
4 changed files with 71 additions and 19 deletions

View File

@ -1,15 +0,0 @@
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