mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-07 05:13:11 +00:00
fix: 可以发送空白md消息的情况
This commit is contained in:
parent
c589d5e0a5
commit
89001bec0a
@ -922,7 +922,7 @@ export default {
|
||||
|
||||
getText() {
|
||||
if (this.quill) {
|
||||
return this.quill.getText()
|
||||
return `${this.quill.getText()}`.replace(/^\s+|\s+$/g, "")
|
||||
}
|
||||
return "";
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user