|
@@ -158,7 +158,7 @@ export default {
|
|
else form.content = this.file[0].url;
|
|
else form.content = this.file[0].url;
|
|
}
|
|
}
|
|
let res = await this.create(form);
|
|
let res = await this.create(form);
|
|
- if (this.$checkRes(res, '操作成功', '操作失败')) {
|
|
|
|
|
|
+ if (this.$checkRes(res, '发送成功', '发送失败')) {
|
|
let data = { _id: res.data.room, customer: this.customer, shop: this.shop };
|
|
let data = { _id: res.data.room, customer: this.customer, shop: this.shop };
|
|
this.toClose();
|
|
this.toClose();
|
|
this.search();
|
|
this.search();
|