cxmo 1 жил өмнө
parent
commit
752b703f1e

+ 9 - 0
src/views/report_manage/mixins/reportMixin.js

@@ -77,6 +77,15 @@ export default {
         videoUploadURL: process.env.VUE_APP_API_ROOT + "/report/uploadImg", //上传url
         fileUploadURL: process.env.VUE_APP_API_ROOT + "/report/uploadImg", //上传url 更多上传介绍 请访问https://www.froala.com/wysiwyg-editor/docs/options
         imageDefaultWidth: false,
+        fontFamily:{'Arial,Helvetica,sans-serif': 'Arial',
+            'Georgia,serif': 'Georgia',
+            'Impact,Charcoal,sans-serif': 'Impact',
+            'Tahoma,Geneva,sans-serif': 'Tahoma',
+            "'Times New Roman',Times,serif": 'Times New Roman',
+            'Verdana,Geneva,sans-serif': 'Verdana',
+            'SimHei':'黑体',
+            'SimSun':'宋体'
+        },
         quickInsertButtons: ["image", "table", "ul", "ol", "hr"], //快速插入项
         toolbarVisibleWithoutSelection: true, //是否开启 不选中模式
         // disableRightClick:true,//是否屏蔽右击