增加width、height、theme、simple参数,修复快捷发送可以发送空消息的问题,优化文档
This commit is contained in:
@@ -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();
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user