描述问题:
截图或视频:
可以的话,尽可能提供截图或视频来补充描述你的问题...
如何复现(请务必完整填写下面内容):
- 你是如何使用 amis 的?
npm - amis 版本是什么?请先在最新 beta 版本测试问题是否存在
最新版本 - 粘贴有问题的完整
amis schema
代码:
{
"type": "page",
"body": {
"type": "form",
"debug": true,
"data": {
"user": [
{
"test": "11",
"xxx": []
}
]
},
"api": "https://3xsw4ap8wah59.cfc-execute.bj.baidubce.com/api/amis-mock/mock2/form/saveForm",
"body": [
{
"type": "combo",
"name": "user",
"label": "用户",
"multiple": true,
"multiLine": true,
"items": [
{
"type": "input-text",
"name": "test"
},
{
"type": "combo",
"label": "xxx",
"name": "xxx",
"multiLine": true,
"multiple": true,
"items": [
{
"name": "text",
"label": "名字",
"type": "input-text"
},
{
"hiddenOn": "text",
"clearValueOnHidden": true,
"name": "gender",
"label": "性别",
"type": "select",
"options": [
"男",
"女"
]
}
]
}
]
}
]
}
}
- 操作步骤
- 用户combo新增下一条数据
- 选择 性别 男
- 输入 名字,此时性别选择框隐藏。
- 删除名字,此时性别选择框展现。但数据未被清理。
1条答案
按热度按时间bwleehnv1#
请问combo嵌套,碰到性能问题没有?