Browse Source

富文本配置菜单

Qukatie 1 month ago
parent
commit
09b808ad37

+ 22 - 0
src/views/iosBasicData/SeafreightExportF/bills/assembly/mail-component.vue

@@ -54,6 +54,28 @@ export default {
             options: {
                 //普通上传地址
                 action: "/api/blade-resource/oss/endpoint/put-file",
+                customConfig: {
+                    menus: [
+                        'head',
+                        'bold',
+                        'fontSize',
+                        'fontName',
+                        'italic',
+                        'underline',
+                        'strikeThrough',
+                        'foreColor',
+                        'backColor',
+                        'link',
+                        'list',
+                        'justify',
+                        'quote',
+                        'emoticon',
+                        'image',
+                        'table',
+                        'undo',
+                        'redo'
+                    ],
+                },
                 headers: { "Blade-Auth": "Bearer " + getToken() },
                 props: {
                     res: "data",