lilei 3 éve
szülő
commit
7d7ae4d7ac
2 módosított fájl, 3 hozzáadás és 2 törlés
  1. 1 1
      public/version.json
  2. 2 1
      src/views/common/pdfViewModal.vue

+ 1 - 1
public/version.json

@@ -1,5 +1,5 @@
 {
   "message": "发现有新版本发布,确定更新系统?",
   "vendorJsVersion": "",
-  "version": 1654164270754
+  "version": 1654164651782
 }

+ 2 - 1
src/views/common/pdfViewModal.vue

@@ -154,7 +154,8 @@ export default {
       this.total = data.length
       // 获取打印机列表
       this.printList = getPrintList()
-      this.printIndex = this.$store.state.app.printDefNeedle || undefined
+      const defPrint = this.$store.state.app.printDefNeedle
+      this.printIndex = defPrint ? (defPrint == 'undefined' ? undefined : defPrint) : undefined
     },
     error: function (err) {
       console.log(err)