amis 1.8 crud筛选 重置按钮某些情况下无效

dfddblmv  于 2022-12-31  发布在  其他
关注(0)|答案(1)|浏览(302)
描述问题:

初始情况有勾选的,也有没勾选的

如果勾选已勾选下面的字段,没问题,但是勾选上面的字段,无法重置

点击重置无效

  1. 你是如何使用 amis 的?
    sdk
  2. amis 版本是什么?
    1.8
  3. 粘贴有问题的完整 amis schema 代码:
    { "type": "page", "body": [ { "type": "crud", "name": "crud", "syncLocation": false, "primaryField": "_id", "title": "食品抽检合格信息", "headerToolbar": [ "reload" ], "autoGenerateFilter": true, "api": { "method": "post", "url": "", "data": { "amisExtras": { "conditions": [] }, "&": "$$" } }, "columns": [ { "name": "_id", "label": "ID", "toggled": false }, { "name": "bcscqydz", "label": "标称生产企业地址", "sortable": true, "searchable": { "type": "input-text", "name": "bcscqydz", "size": "full", "label": "标称生产企业地址", "clearable": true }, "enableSearch": false }, { "name": "bcscqymc", "label": "标称生产企业名称", "sortable": true, "searchable": { "type": "input-text", "name": "bcscqymc", "size": "full", "label": "标称生产企业名称", "clearable": true }, "enableSearch": true }, { "name": "bcydwdz", "label": "被抽样单位所在区域", "sortable": true, "searchable": { "type": "input-text", "name": "bcydwdz", "size": "full", "label": "被抽样单位所在区域", "clearable": true }, "enableSearch": false }, { "name": "bcydwmc", "label": "被抽样单位名称", "sortable": true, "searchable": { "type": "input-text", "name": "bcydwmc", "size": "full", "label": "被抽样单位名称", "clearable": true }, "enableSearch": true }, { "name": "bz", "label": "备注", "sortable": true, "searchable": { "type": "input-text", "name": "bz", "size": "full", "label": "备注", "clearable": true }, "enableSearch": false }, { "name": "cybh", "label": "抽样编号", "sortable": true, "searchable": { "type": "input-text", "name": "cybh", "size": "full", "label": "抽样编号", "clearable": true }, "enableSearch": true }, { "name": "fl", "label": "分类", "sortable": true, "searchable": { "type": "input-text", "name": "fl", "size": "full", "label": "分类", "clearable": true }, "enableSearch": false }, { "type": "operation", "label": "操作", "fixed": "right" } ] } ] }
gev0vcfq

gev0vcfq1#

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

相关问题