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: InputTable单测用例修复 #7537

Merged
merged 1 commit into from
Jul 21, 2023

Conversation

lurunze1226
Copy link
Collaborator

@lurunze1226 lurunze1226 commented Jul 20, 2023

What

🤖 Generated by Copilot at d456896

Fix input table submit bug and update test case. The change fixes a bug where the input table component does not submit the correct data when using the submitOnChange option. It also updates the test case in inputTable.test.tsx to use expect.objectContaining for more flexible assertions.

🤖 Generated by Copilot at d456896

expect is better
than comparing objects whole
autumn leaves fall fast

Why

How

🤖 Generated by Copilot at d456896

  • Fix bug where input table does not submit correct data when using submitOnChange option (link,

@github-actions github-actions bot added the chore label Jul 20, 2023
@github-actions
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 4bb0c71 into baidu:master Jul 21, 2023
5 checks passed
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