Open lengqingfeng opened 9 months ago
crud 列里面有 quickEdit mode: 'inline', 导致switch 按钮不受控。
可以的话,尽可能提供截图或视频来补充描述你的问题...
你是如何使用 amis 的? sdk、npm 或其他... sdk
sdk
npm
其他
amis 版本是什么?请先在最新 beta 版本测试问题是否存在 6.0.0
粘贴有问题的完整 amis schema 代码:
amis schema
{ type: 'crud', name: 'table', source: '${crud}', label: '头部固定', affixHeader: true, columns: [ { name: 'a[0].aa', label: 'AA', quickEdit: { mode: 'inline', type: 'switch', onText: '开启', reload: 'none', offText: '关闭', id: 'u:56a387805c4c', falseValue: 0, trueValue: 1 } }, { name: 'a[0].bb', label: 'AA', quickEdit: { mode: 'inline', type: 'switch', onText: '开启', reload: 'none', offText: '关闭', id: 'u:56a387805c4c', falseValue: 0, trueValue: 1 } } ] }
操作步骤 请简单描述一下复现的操作步骤...
👍 Thanks for this! 🏷 I have applied any labels matching special text in your issue.
Please review the labels and make any necessary changes.
描述问题:
crud 列里面有 quickEdit mode: 'inline', 导致switch 按钮不受控。
截图或视频:
可以的话,尽可能提供截图或视频来补充描述你的问题...
如何复现(请务必完整填写下面内容):
你是如何使用 amis 的?
sdk
、npm
或其他
... sdkamis 版本是什么?请先在最新 beta 版本测试问题是否存在 6.0.0
粘贴有问题的完整
amis schema
代码:操作步骤 请简单描述一下复现的操作步骤...