We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vue 3 + antd
在使用 anyOf 进行定义时,若anyOf 第一项是基本数据类型,第二项是Object,在进行选项切换时js会报错。
测试所使用数据结构如下: { "title": "测试专用页", "type": "object", "description": "输入你的Schema,顶部分享按钮即可快速生成链接", "properties": { "value": { "title": "测试数据结构改变", "anyOf": [ { "enum": [ "text1", "text2", "text3" ], "type": "string", "title": "单选" }, { "title": "多选", "type": "object", "properties": { "choices": { "title": "多选数据", "type": "array", "items": { "enum": [ "text1", "text2", "text3" ], "type": "string" } } } } ] } } }
{ "title": "测试专用页", "type": "object", "description": "输入你的Schema,顶部分享按钮即可快速生成链接", "properties": { "value": { "title": "测试数据结构改变", "anyOf": [ { "enum": [ "text1", "text2", "text3" ], "type": "string", "title": "单选" }, { "title": "多选", "type": "object", "properties": { "choices": { "title": "多选数据", "type": "array", "items": { "enum": [ "text1", "text2", "text3" ], "type": "string" } } } } ] } } }
当进行选项切换时js报错,页面卡死。
想请问下这个问题是否会计划修复?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
vue和ui框架
vue 3 + antd
问题描述
在使用 anyOf 进行定义时,若anyOf 第一项是基本数据类型,第二项是Object,在进行选项切换时js会报错。
如何复现
测试所使用数据结构如下:
{ "title": "测试专用页", "type": "object", "description": "输入你的Schema,顶部分享按钮即可快速生成链接", "properties": { "value": { "title": "测试数据结构改变", "anyOf": [ { "enum": [ "text1", "text2", "text3" ], "type": "string", "title": "单选" }, { "title": "多选", "type": "object", "properties": { "choices": { "title": "多选数据", "type": "array", "items": { "enum": [ "text1", "text2", "text3" ], "type": "string" } } } } ] } } }
当进行选项切换时js报错,页面卡死。
期望的结果
想请问下这个问题是否会计划修复?
The text was updated successfully, but these errors were encountered: