浏览代码

fix: 取反

zh 2 年之前
父节点
当前提交
83b6911fa9
共有 1 个文件被更改,包括 1 次插入1 次删除
  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')