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

tabs在vue下会报错,子表单不支持records选项,主表单是支持的 invalid label 最好改为原始值,比较友好 #9806

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

Conversation

102010cncger
Copy link

tabs在vue下会报错
子表单不支持records选项,主表单是支持的
invalid label 最好改为原始值,比较友好

What

Why

我们项目主要在vue下使用
以上是发现的问题
现在每次更新都得重新编译amis的源代码,希望能接受上面的pull request

谢谢

How

子表单不支持records选项,主表单是支持的
invalid label 最好改为原始值,比较友好
@2betop
Copy link
Collaborator

2betop commented Mar 18, 2024

label 必须是字符串,所以才会有 labelToString, react 里面如果渲染的元素是是个对象,react 会报错。另外代码里面还有个多余的 console.log

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

2 participants