提交 16bfa31c authored 作者: pengxiaohui's avatar pengxiaohui

修复案例更新删除产品概况、基金、投资三个模块数据不生效的bug

上级 4a45111e
......@@ -299,9 +299,9 @@ export default {
const checkedPro = this.checkFormDetailsNull(form.production_detail)
const checkedFoud = this.checkFormDetailsNull(form.fund_detail)
const checkedInvest = this.checkFormDetailsNull(form.invest_detail)
if (checkedPro) delete form.production_detail
if (checkedFoud) delete form.fund_detail
if (checkedInvest) delete form.invest_detail
if (checkedPro) form.production_detail = []
if (checkedFoud) form.fund_detail = []
if (checkedInvest) form.invest_detail = []
casesApi.updateCase2(this.id, form).then(res => {
if (res.code === 0) {
this.$message.success(res.message)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论