Skip to content

Commit

Permalink
Merge pull request #957 from dcloudio/fix-form
Browse files Browse the repository at this point in the history
fix:修复form上一个报错的错误
  • Loading branch information
GRCmade authored Sep 21, 2024
2 parents 2877447 + 74277a2 commit 1e89583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uni_modules/uni-forms/components/uni-forms/uni-forms.vue
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
if (!formVm) return console.error('当前 uni-froms 组件缺少 ref 属性');
if(formVm.model)formVm.model[name] = value
if(formVm.modelValue)formVm.modelValue[name] = value
if(formVm.value)formVm.model[name] = value
if(formVm.value)formVm.value[name] = value
}
}
}
Expand Down

0 comments on commit 1e89583

Please sign in to comment.