ahooksjs / useTable

A Progressive Solution for Query Table Scene
https://usetable-ahooks.js.org
MIT License
46 stars 6 forks source link

useFilterPlugin通过transformer后,旧字段名还在查询参数里 #8

Closed Gamehu closed 3 years ago

Gamehu commented 3 years ago

package.json

   "@ahooksjs/next-form-table": "^0.1.6",
    "@ahooksjs/use-adapt-plugin": "^0.1.6",
    "@ahooksjs/use-async-default-plugin": "^0.1.6",
    "@ahooksjs/use-filter-plugin": "^0.1.6",
    "@ahooksjs/use-selection-plugin": "^0.1.6",
    "@ahooksjs/use-sortable-plugin": "^0.1.6",
    "@ahooksjs/use-tree-plugin": "^0.1.6",

codesandbox

demo

console

results: 20
page: 1
size: 20
a: 1
email: [object Object]

如上所示:

“email”还在查询参数中,请问怎么去掉

而且就算点击了过滤条件的“重置”,该字段也还会在参数里存在。如下图, image