Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: store 的 pristine 默认改成只有远程数据更新触发的重新初始化才更新 Close: #9092 #9856

Merged
merged 1 commit into from
Mar 27, 2024

Conversation

2betop
Copy link
Collaborator

@2betop 2betop commented Mar 25, 2024

What

Why

How

Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@github-actions github-actions bot added the chore label Mar 25, 2024
@2betop 2betop linked an issue Mar 25, 2024 that may be closed by this pull request
@nwind nwind merged commit ce03aea into baidu:master Mar 27, 2024
3 checks passed
@2betop 2betop deleted the chore-reset-pristine branch March 29, 2024 09:44
@xystaru01
Copy link

您好,在代码中遇到了相同的问题,参考您的这个commit进行了修复
但是有个疑问:为什么要在combo内renderItems时,针对form单独传递props为 updatePristineAfterStoreDataReInit: updatePristineAfterStoreDataReInit ?? false
我理解在withStore的位置已经进行了兜底的skipSetPristine传值判断,而且既然combo内renderItems时,针对form进行了传值,为什么例如inputTable等table内render Form的地方不传这个值呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

表单组件默认值在父数据域发生变化后失效
4 participants