增加width、height、theme、simple参数,修复快捷发送可以发送空消息的问题,优化文档

This commit is contained in:
fan
2021-01-18 21:42:54 +08:00
parent 1e626ee84e
commit e88da7ae19
8 changed files with 104 additions and 15 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ export default {
},
_handleKeydown(e) {
const { keyCode,ctrlKey } = e;
if (keyCode == 13 && ctrlKey === true) {
if (keyCode == 13 && ctrlKey === true && this.submitDisabled == false) {
this._handleSend();
}
},