提交 7d8fc114 authored 作者: 王鹏飞's avatar 王鹏飞

bug fixes

上级 386caf67
...@@ -198,11 +198,11 @@ export default { ...@@ -198,11 +198,11 @@ export default {
}) })
}, },
// 提交 // 提交
handleSubmit() { handleSubmit(callback) {
this.$refs.ruleForm.validate().then(() => { this.$refs.ruleForm.validate().then(() => {
const params = Object.assign({}, this.ruleForm, { affair_id: this.affairId }) const params = Object.assign({}, this.ruleForm, { affair_id: this.affairId })
params.course_id = this.ruleForm.course_id.join(',') params.course_id = this.ruleForm.course_id.join(',')
this.isEdit ? this.handleUpdate(params) : this.handleAdd(params) this.isEdit ? this.handleUpdate(params, callback) : this.handleAdd(params, callback)
}) })
}, },
// 去支付 // 去支付
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论