Commit 0868d3aa by xuyl

修复群发人数为0问题

1 parent 5b533e65
...@@ -392,6 +392,7 @@ export default { ...@@ -392,6 +392,7 @@ export default {
// 提交 // 提交
async handleSubmit() { async handleSubmit() {
const params = this.getBaseInfo() const params = this.getBaseInfo()
if (this.groupNumber == '0'){
await this.$apis.wechatGroup await this.$apis.wechatGroup
.batchmessagingCustomercount(params) .batchmessagingCustomercount(params)
.then(res => { .then(res => {
...@@ -402,6 +403,7 @@ export default { ...@@ -402,6 +403,7 @@ export default {
.catch(err => { .catch(err => {
this.groupNumber = 0 this.groupNumber = 0
}) })
}
this.$refs.basicForm.validate(valid => { this.$refs.basicForm.validate(valid => {
if (valid) { if (valid) {
if (this.basicForm.selectType == '1' && !this.taggingList.length) { if (this.basicForm.selectType == '1' && !this.taggingList.length) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!