|
|
|
@ -46,7 +46,7 @@ export default { |
|
|
|
if (!valid) { |
|
|
|
return false |
|
|
|
} |
|
|
|
this.$http[!this.dataForm.id ? 'post' : 'put']('/group/topic/close', this.dataForm).then(({ data: res }) => { |
|
|
|
this.$http['post']('/group/topic/close', this.dataForm).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
|