lifanagju_citu 8 месяцев назад
Родитель
Сommit
3938b1bd65
2 измененных файлов с 3 добавлено и 2 удалено
  1. 1 0
      src/components/CtForm/index.vue
  2. 2 2
      src/components/FormUI/wangEditor/index.vue

+ 1 - 0
src/components/CtForm/index.vue

@@ -171,6 +171,7 @@ const validateTime = () => {
 }
   
 const validate = () => {
+  debugger
   const form = formRef.value.validate()
   const time = validateTime()
   return form && time

+ 2 - 2
src/components/FormUI/wangEditor/index.vue

@@ -91,11 +91,11 @@ watch(
   }
 )
 
-// import { DomEditor } from '@wangeditor/editor'
 const handleCreated = (editor) => {
   editorRef.value = editor // 记录 editor 实例,重要!
+  // 打印内容
   // console.log('editor->', editor)
-  console.log('所有菜单 key->', editor.getAllMenuKeys()) // 所有菜单 key (可能有的不在工具栏上)
+  // console.log('所有菜单 key->', editor.getAllMenuKeys()) // 所有菜单 key (可能有的不在工具栏上)
 }
 
 const onMaxLengthFun = (editor) => {