diff --git a/src/apps/AppAskForm/components/FormSetting.vue b/src/apps/AppAskForm/components/FormSetting.vue index cf8835ee..553119fc 100644 --- a/src/apps/AppAskForm/components/FormSetting.vue +++ b/src/apps/AppAskForm/components/FormSetting.vue @@ -108,8 +108,8 @@ export default { this.type = this.type } else if (this.formConfig) { const res = this.formConfig - this.periodValidityType = res.periodValidityType - this.commitType = res.commitType + this.periodValidityType = res.periodValidityType || '0' + this.commitType = res.commitType || '1' this.actionNotice = res.actionNotice === '1' this.dynamicNotice = res.dynamicNotice === '1'