Преглед на файлове

修改字体初始大小

yangg преди 3 седмици
родител
ревизия
68a7420245
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/components/CanvasEditor/index.vue

+ 1 - 1
src/components/CanvasEditor/index.vue

@@ -684,7 +684,7 @@ export default {
       options: {
         width: 813, // A4 纸张宽度
         height: 1123, // A4 纸张高度
-        defaultSize: Number(this.editorOptions.size),
+        defaultSize: 14,//Number(this.editorOptions.size),
         defaultFont: this.editorOptions.font,
         //  defaultSize: 14,//Number(this.editorOptions.size),
         defaultBold: this.editorOptions.bold,