lilei %!s(int64=3) %!d(string=hai) anos
pai
achega
29314d86fe
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/views/common/print.vue

+ 5 - 0
src/views/common/print.vue

@@ -11,6 +11,7 @@
       type="primary"
       class="button-warning"
       id="print-export-btn"
+      v-if="showExport"
       :disabled="disabled"
       @click="handlePrint('export')">导出Excel</a-button>
     <!-- 打印 -->
@@ -25,6 +26,10 @@ export default {
     disabled: {
       type: Boolean,
       default: true
+    },
+    showExport: {
+      type: Boolean,
+      default: true
     }
   },
   data () {