zhangjie 2 anni fa
parent
commit
7b10c9573d
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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() {