|
@@ -3,13 +3,15 @@ import hasPermi from './permission/hasPermi'
|
|
|
import dialogDrag from './dialog/drag'
|
|
|
import dialogDragWidth from './dialog/dragWidth'
|
|
|
import dialogDragHeight from './dialog/dragHeight'
|
|
|
+import throttle from "./common/throttle"
|
|
|
|
|
|
-const install = function(Vue) {
|
|
|
+const install = function (Vue) {
|
|
|
Vue.directive('hasRole', hasRole)
|
|
|
Vue.directive('hasPermi', hasPermi)
|
|
|
Vue.directive('dialogDrag', dialogDrag)
|
|
|
Vue.directive('dialogDragWidth', dialogDragWidth)
|
|
|
Vue.directive('dialogDragHeight', dialogDragHeight)
|
|
|
+ Vue.directive('throttle', throttle)
|
|
|
}
|
|
|
|
|
|
if (window.Vue) {
|