Open Sybiil opened 2 years ago
{ "type": "select", "name": "poetry_id", "searchable": true, "selectMode": "table", "clearable": true, "label": "关联诗词", "required": true, "columns": [ { "name": "label", "label": "诗词" } ], "searchApi": "", "source": "" }
这样一个select,接口按照规范返回了options,里面每个对象包含label和value两个字段。但是我发现搜索然后点击一个选项后,有的时候select里显示的是label字段的内容,有的时候又显示的value字段的内容。已经F12确认过每次接口都有返回value和label。
你是如何使用 amis 的? 如上
amis 版本是什么?请先在最新 beta 版本测试问题是否存在 1.8.0
粘贴有问题的完整 amis schema 代码:
amis schema
如上
操作步骤 如上
我的遇到这个BUG了,你找到解决方法了吗?
描述问题:
{ "type": "select", "name": "poetry_id", "searchable": true, "selectMode": "table", "clearable": true, "label": "关联诗词", "required": true, "columns": [ { "name": "label", "label": "诗词" } ], "searchApi": "", "source": "" }
这样一个select,接口按照规范返回了options,里面每个对象包含label和value两个字段。但是我发现搜索然后点击一个选项后,有的时候select里显示的是label字段的内容,有的时候又显示的value字段的内容。已经F12确认过每次接口都有返回value和label。
如何复现(请务必完整填写下面内容):
你是如何使用 amis 的? 如上
amis 版本是什么?请先在最新 beta 版本测试问题是否存在 1.8.0
粘贴有问题的完整
amis schema
代码:操作步骤 如上