diff --git a/src/components/Detail/editor.vue b/src/components/Detail/editor.vue index 422cf0d..f196b85 100644 --- a/src/components/Detail/editor.vue +++ b/src/components/Detail/editor.vue @@ -44,6 +44,10 @@ this.editor.config.uploadImgTimeout = 3 * 60 * 1000 // 设置超时时间 this.editor.create() + }, + + getValue(){ + return this.editor.txt.html() } } }