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:修复 Modal 中使用两个 Form 一个设置disabled为true 另外一个为false 会造成死循环的问题 #1675

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

leehaoChen
Copy link
Contributor

问题描述: Modal 中使用两个 Form 一个设置disabled为true 另外一个为false 会造成死循环的问题
问题原因:两个Form 同时在didUpdate 的时候设置了context 中传入的status
解决办法: 判断存在多个Form 的时候 进行兼容处理防止页面死循环,并给出报错提示。

@leehaoChen leehaoChen added the bug fixed a bug label Jun 27, 2022
@KMS-Bismarck KMS-Bismarck changed the base branch from master to dev October 21, 2022 09:53
@KMS-Bismarck KMS-Bismarck changed the base branch from dev to master October 21, 2022 09:53
@leehaoChen leehaoChen changed the title 修复 Modal 中使用两个 Form 一个设置disabled为true 另外一个为false 会造成死循环的问题 fix:修复 Modal 中使用两个 Form 一个设置disabled为true 另外一个为false 会造成死循环的问题 Dec 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant