fix: Task 列表筛选走 mapFilterValue 嵌套 filter - #160
Merged
Merged
Conversation
TablePage isNext 只把 apis.list.params 当首次种子,后续筛选必须走 mapFilterValue,并始终返回 { filter },否则业务端 components-core 会把字段打平,fastify-task 读不到 filter[status] 等条件。
Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AllTask/MyTask筛选不生效:TablePageisNext 后续筛选必须走mapFilterValue,且始终返回嵌套{ filter },避免业务端components-core把字段打平后fastify-task读不到filter[status]等条件。1.1.84→1.1.85(合入 master 后由 Publish workflow 发 npm)。Test plan
npm start打开 Task「筛选验收(isNext)」示例,切换状态/类型后请求带filter[status]等嵌套参数。runnerType=manual。@kne-components/components-admin@1.1.85。Made with Cursor