zhangjie 2 năm trước cách đây
mục cha
commit
7b10c9573d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      src/modules/paper-export/views/PaperTemplateBuild.vue

+ 3 - 1
src/modules/paper-export/views/PaperTemplateBuild.vue

@@ -522,7 +522,9 @@ export default {
         curOptions = [];
       });
       this.renderStructList.forEach((elem) => {
-        if (elem.styles.width === "100%") elem.styles.display = "block";
+        if (elem.styles.width === "100%") {
+          this.$set(elem.styles, "display", "block");
+        }
       });
     },
     buildPageAutoPage() {