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