@@ -1589,6 +1589,11 @@
sendMessage() {
let str = this.information;
let formatStr = str.replace(/\n/g, '<br/>');
+ if (str.length > 450) {
+ this.$message.error('输入字符不能大于450个字符');
+ this.information = '';
+ return false;
+ }
// 给机器人发送文本消息
if (this.machineAndAtl == 10) {
//给机器人发送文本消息-本地储存