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

fix: 修复同步 store 使得表单默认值丢失的问题 #8903

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

2betop
Copy link
Collaborator

@2betop 2betop commented Nov 27, 2023

What

🤖[deprecated] Generated by Copilot at a29efca

Fixed a bug in WithStore component that prevented store data from updating when store path was dynamic. Changed the condition for merging store data with props data to be more flexible.

🤖[deprecated] Generated by Copilot at a29efca

Props and store data
Merge when path has no slash
A bug fixed in fall

Why

How

🤖[deprecated] Generated by Copilot at a29efca

  • Fix a bug where store data was not updated when store path changed dynamically (link)

@github-actions github-actions bot added the fix label Nov 27, 2023
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.

@2betop 2betop merged commit 90a3ad7 into baidu:master Nov 27, 2023
5 checks passed
lengqingfeng pushed a commit to lengqingfeng/amis that referenced this pull request Dec 28, 2023
…amis

* 'gjamis' of https://github.com/lengqingfeng/amis:
  fix(amis): 搜索组件通过事件动作变量赋值时也触发change
  fix(amis): 搜索组件功能失效问题修复
  perf: Spinner局部加载增加蒙层 (baidu#8900)
  chore: ChangeLog命令支持按照commit类型排序, 执行完成后删除本地缓存 (baidu#8810)
  feat: table支持行点击时不勾选 (baidu#8916)
  feat:ConditionBuilder字段配置支持defaultOp
  perf: patch 逻辑改成批量处理提高性能
  fix: Select组件设置labelField和maxTagCount时剩余标签数量不显示问题 Close: baidu#8893
  docs: 增加 searchImediately 的示例 Closes baidu#8828
  fix: CRUD2组件开启syncLocation后分页组件未同步pageField值导致无法切换页码问题; feat: CRUD2支持parsePrimitiveQuery (baidu#8908)
  fix(amis-editor): 修复公式编辑器self标记功能不生效问题
  style: 页面设计器 配置面板弹窗字体调整
  fix: 修复同步 store 使得表单默认值丢失的问题 (baidu#8903)
  feat: Select组件reload期间禁用 Close: baidu#8818
  fix: 表单项 validateApi 捕获接口异常
  fix: 数字输入框配置面板固定为单侧按钮模式
@2betop 2betop deleted the fix-store-sync branch January 17, 2024 13:05
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.

None yet

3 participants