zhangjie 2 years ago
parent
commit
860fa40cb2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/modules/record/components/LibraryDialog.vue

+ 2 - 2
src/modules/record/components/LibraryDialog.vue

@@ -265,10 +265,10 @@ export default {
       data.forEach(item => {
         item.data.forEach(field => {
           if (field.code === "openOcr") {
-            this.openOcr = field.code === "true";
+            this.openOcr = field.value === "true";
           }
           if (field.code === "openGlobalMatch") {
-            this.openGlobalMatch = field.code === "true";
+            this.openGlobalMatch = field.value === "true";
           }
         });
       });