zhangjie 2 年之前
父节点
当前提交
dd8c405687
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/modules/paper-export/views/PaperTemplateBuild.vue

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

@@ -816,7 +816,7 @@ export default {
             eDom.firstChild.firstChild &&
             eDom.firstChild.firstChild.nodeName === "DIV"
           )
-            eDom.firstChild.firstChild.style.width = width + "px";
+            eDom.firstChild.firstChild.style.width = "100%";
         }
       });
       return previewTemp(this.$refs.PaperTemplateView.$el.outerHTML);