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: 模型表单无法编辑数据源配置; chore: 修复Form使用场景兼容逻辑执行环节错误问题 #8777

Merged
merged 1 commit into from
Nov 16, 2023

Conversation

lurunze1226
Copy link
Collaborator

@lurunze1226 lurunze1226 commented Nov 16, 2023

What

调整内容

  • 模型组件使用旧版数据源配置,且支持配置
  • 调整兼容旧版Schema的执行逻辑,由pipeIn中改为在patchSchema中执行
  • 优化guess使用场景的逻辑

🤖[deprecated] Generated by Copilot at 5fd39e3

Add a utility function to check model components in amis-editor. The function _isModelComp in packages/amis-editor/src/util.ts uses various criteria to identify schema objects that use model schemas or references.

🤖[deprecated] Generated by Copilot at 5fd39e3

_isModelComp checks
Schema for model hints
Autumn leaves fall

Why

How

🤖[deprecated] Generated by Copilot at 5fd39e3

  • Add a utility function _isModelComp to check if a schema object is a model component (link)

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.

@igrowp igrowp merged commit bc818fa into baidu:master Nov 16, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants