zh 2 år sedan
förälder
incheckning
83b6911fa9
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      src/views/supply/pickup/components/design/preview.vue

+ 1 - 1
src/views/supply/pickup/components/design/preview.vue

@@ -89,7 +89,7 @@ export default {
     async print() {
       if (this.getNewDetailPrintDisString) {
         const { data } = await this.getNewDetailPrintDisString()
-        if (data) {
+        if (!data) {
           try {
             if (typeof this.addPrint === 'function') {
               this.addPrint('getDtailPrintDis')