@@ -868,6 +868,16 @@
})
return
}
+ if (this.content.indexOf('【')!=-1 && this.content.indexOf('】')==-1
+ || this.content.indexOf('【')==-1 && this.content.indexOf('】')!=-1) {
+ this.$notify({
+ title: '提示',
+ duration: 1800,
+ message: '请输入正确的消息内容格式,包含【】',
+ type: 'warning'
+ })
+ return
+ }
if (this.titles == '添加常用短语') {
var urls = 'message/add'