Browse Source

fix:[模板管理]表单内容为空时,需要初始化其他字段

lkf
15881625488@163.com 3 months ago
parent
commit
292706a61a
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      src/views/business/comps/template/mixins/templateMixin.js

+ 10
- 0
src/views/business/comps/template/mixins/templateMixin.js View File

@ -59,6 +59,16 @@ export default {
startDate, startDate,
endDate endDate
} }
}else{
this.formData = {
studyMc,
studySn,
templateMc,
templateMcEn,
templateSn,
startDate,
endDate
}
} }
const { effectivePeriod, effectivePeriodUnit, expireDate } = const { effectivePeriod, effectivePeriodUnit, expireDate } =
this.formData this.formData

Loading…
Cancel
Save