Browse Source

修改默认打印机选项

lilei 3 years ago
parent
commit
81b7060440
3 changed files with 3 additions and 3 deletions
  1. 1 1
      public/version.json
  2. 1 1
      src/layouts/BasicLayout.vue
  3. 1 1
      src/store/modules/app.js

+ 1 - 1
public/version.json

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

+ 1 - 1
src/layouts/BasicLayout.vue

@@ -238,7 +238,7 @@ export default {
     this.$store.commit('SET_pdfPrintList', [])
     this.$store.commit('SET_showPdfPrint', false)
     this.$store.commit('SET_showSelectPrint', false)
-    this.$store.commit('SET_printUseDefault', localStorage.getItem('DEFAULT_PRINT') || '1')
+    this.$store.commit('SET_printUseDefault', localStorage.getItem('DEFAULT_PRINT') || '0')
   },
   mounted () {
     const userAgent = navigator.userAgent

+ 1 - 1
src/store/modules/app.js

@@ -43,7 +43,7 @@ const app = {
     printTaskName: '', // 打印任务名称
     printTaskID: '', // 打印任务id列表
     printLoading: false, // 正在打印中
-    printUseDefault: '1', // 是否始终使用默认打印机打印
+    printUseDefault: '0', // 是否始终使用默认打印机打印
   },
   mutations: {
     SET_SIDEBAR_TYPE: (state, type) => {