From ffe22320da42b1a3f4a0aaf81cb31578ef205d38 Mon Sep 17 00:00:00 2001 From: MrShi <1878285526@qq.com> Date: 星期三, 10 九月 2025 14:52:47 +0800 Subject: [PATCH] 改bug --- frontWuhu/src/components/common/RichEditor.vue | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/frontWuhu/src/components/common/RichEditor.vue b/frontWuhu/src/components/common/RichEditor.vue index 1acf8cc..fee81d5 100644 --- a/frontWuhu/src/components/common/RichEditor.vue +++ b/frontWuhu/src/components/common/RichEditor.vue @@ -16,7 +16,7 @@ /> </div> </template> - + <script> import { Editor, Toolbar } from '@wangeditor/editor-for-vue' export default { @@ -129,7 +129,7 @@ console.log(`${file.name} 涓婁紶鍑洪敊`, err, res) }, }, - + } }, mode: 'default', // or 'simple' @@ -145,19 +145,20 @@ this.editor = Object.seal(editor) }, onChange (editor) { + console.log('editor', editor) // debugger this.$emit('edit', this.content.content) // this.value = this.html // console.log(this.content); }, - + // onBlur (editor) { // console.log('onBlur', editor) // this.$emit('edit', this.html) // }, }, - + } </script> -<style src="@wangeditor/editor/dist/css/style.css"></style> \ No newline at end of file +<style src="@wangeditor/editor/dist/css/style.css"></style> -- Gitblit v1.9.3