소스 검색

no message

linwenxin 1 년 전
부모
커밋
93ae7d2e92
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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) {