Skip to content

Commit

Permalink
fix: 修复组件联动恢复默认状态时赋值bug
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Apr 16, 2021
1 parent 8fa65a0 commit 1b7922e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/component/pro-form/src/ProForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ export default class ProForm extends Vue {
break;
case 'hidden':
this.$set(field, 'hidden', false);
this.models[_.field] = _.value;
this.models[_.field] = _.value ? _.value : null;
break;
case 'required':
this.setUnRequired(field);
Expand Down

0 comments on commit 1b7922e

Please sign in to comment.