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: 修复 schema 被插入 id 被重置的问题 #8601

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

2betop
Copy link
Collaborator

@2betop 2betop commented Nov 2, 2023

What

🤖 Generated by Copilot at 1f11336

Fixed a bug that caused component IDs to be overwritten in amis-editor-core. Changed the ID generation logic in util.ts to preserve existing IDs.

🤖 Generated by Copilot at 1f11336

hasID or not
a bug fix for autumn leaves
no more conflicts here

Why

How

🤖 Generated by Copilot at 1f11336

  • Prevent overriding existing component IDs when generating new ones (link)

Copy link

github-actions bot commented Nov 2, 2023

👍 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 fix label Nov 2, 2023
@2betop 2betop marked this pull request as draft November 2, 2023 10:21
@2betop 2betop marked this pull request as ready for review November 2, 2023 10:26
@2betop 2betop merged commit eb8d250 into baidu:master Nov 2, 2023
2 checks passed
@2betop 2betop deleted the fix-editor branch November 2, 2023 10:35
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