dataease/frontend/src/directive/index.js
2021-02-19 16:34:02 +08:00

12 lines
249 B
JavaScript

import ClickOutside from "element-ui/src/utils/clickoutside";
import permission from "@/directive/permission";
export default {
install(Vue) {
Vue.directive('click-outside', ClickOutside);
Vue.directive('permission', permission);
}
}