Browse Source

no message

linwenxin 1 năm trước cách đây
mục cha
commit
93ae7d2e92
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/components/template/template-page-1.vue

+ 2 - 1
src/components/template/template-page-1.vue

@@ -146,6 +146,7 @@ export default {
         ? [
           [
             {
+              isRole: this.$restrict('export'),
               name: '导出',
               click: this.export,
               loading: false
@@ -484,7 +485,7 @@ export default {
     },
     // 导出
     export() {
-      this.columnList = this.$refs.zjpage.columnList.filter(item=>!item.hidden)
+      this.columnList = this.$refs.zjpage.columnList.filter(item => !item.hidden)
     },
     async exportDetermine(data) {
       if (!this.exportList) {