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(amis-editor): 修复flex布局容器快捷功能键icon丢失问题 #8609

Merged
merged 1 commit into from
Nov 3, 2023

Conversation

wibetter
Copy link
Collaborator

@wibetter wibetter commented Nov 3, 2023

What

🤖 Generated by Copilot at 7f9e33c

Refactored FlexPluginBase to use node parameter instead of store variable for toolbar rendering. This improves performance and avoids using a deprecated method.

🤖 Generated by Copilot at 7f9e33c

node replaces store
toolbar renders faster, better
autumn leaves the old

Why

How

🤖 Generated by Copilot at 7f9e33c

  • Replace deprecated store.getSchemaParentById method with node.parentSchema to access parent schema of current node in buildEditorToolbar method of FlexPluginBase class (link)

Copy link

github-actions bot commented Nov 3, 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 3, 2023
@wibetter wibetter merged commit 7f2baf2 into baidu:master Nov 3, 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