소스 검색

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