mousheng / lowcoder_CN

🔥🔥🔥开源Retool, Tooljet和Appsmith的替代方案,码匠的开源版
GNU Affero General Public License v3.0
159 stars 47 forks source link

fix: 修复级联选择器默认值不生效,defaultValue字段与其它表单组件表现不一致 #85

Open taosiqi opened 5 months ago

taosiqi commented 5 months ago

Proposed changes

Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
If it fixes a bug or resolves a feature request, be sure to link to that issue. 级联选择器默认值不生效,排查发现,其他表单组件均使用defaultValue做为默认值,级联组件使用的是 value 字段,如无历史兼容问题,可考虑合并 -->before before -->after after

Types of changes

What types of changes does your code introduce to Lowcoder?
Put an x in the boxes that apply.

Checklist

You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.
Put an x in the boxes that apply.

Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc.