panxiandiao_i 5 жил өмнө
parent
commit
b589a1db6b

+ 2 - 2
src/views/projectManage/projectList/projectCreate.vue

@@ -147,7 +147,7 @@ export default {
   mounted() {
     if (!this.$route.query.id) {
       const editor = new E('#wangeditor')
-      editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table']
+      editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table', 'foreColor']
       editor.customConfig.onchange = (html) => {
         this.editorContent = html
       }
@@ -177,7 +177,7 @@ export default {
           this.form = res.data
           this.editorContent = res.data.timeInfo
           const editor = new E('#wangeditor')
-          editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table']
+          editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table', 'foreColor']
           editor.customConfig.onchange = (html) => {
             this.editorContent = html
           }