fix: 可以发送空白md消息的情况

This commit is contained in:
kuaifan 2023-08-08 19:16:05 +08:00
parent c589d5e0a5
commit 89001bec0a

View File

@ -922,7 +922,7 @@ export default {
getText() {
if (this.quill) {
return this.quill.getText()
return `${this.quill.getText()}`.replace(/^\s+|\s+$/g, "")
}
return "";
},