zhangjie 2 năm trước cách đây
mục cha
commit
860fa40cb2
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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";
           }
         });
       });