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) {