diff --git a/ZR.Vue/src/directive/permission/index.js b/ZR.Vue/src/directive/permission/index.js index e3d76d3..9ef3379 100644 --- a/ZR.Vue/src/directive/permission/index.js +++ b/ZR.Vue/src/directive/permission/index.js @@ -1,9 +1,11 @@ import hasRole from './hasRole' import hasPermi from './hasPermi' +import clipboard from '../module/clipboard' const install = function(Vue) { Vue.directive('hasRole', hasRole) Vue.directive('hasPermi', hasPermi) + Vue.directive('clipboard', clipboard) } if (window.Vue) { diff --git a/ZR.Vue/src/views/tool/gen/index.vue b/ZR.Vue/src/views/tool/gen/index.vue index 9ac9f6f..d1370eb 100644 --- a/ZR.Vue/src/views/tool/gen/index.vue +++ b/ZR.Vue/src/views/tool/gen/index.vue @@ -7,7 +7,7 @@ 查询 - 刷新 + @@ -28,6 +28,7 @@ {{(queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1}} + @@ -50,8 +51,8 @@ -
-          
+ 复制 +
@@ -91,7 +92,7 @@