ant-design / ant-design/pro-components

🐛[BUG]为什么protable表单搜搜实际上起到作用的是key而不是dataIndex?

Open
#9,223 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

🐛[BUG]为什么protable表单搜搜实际上起到作用的是key而不是dataIndex?

```
{
title: intl.formatMessage({ id: 'field.content' }),
dataIndex: 'content',
key: 'content22',
width: 300,
ellipsis: true,
copyable: true,
},
```

表单中世纪上是context22=xxxxx

Contributor guide

Open the contributing guide

Research direction

The issue names no source file or test. Reproduce the shown ProTable column configuration and inspect the search submission behavior; done means the submitted field follows the intended column property rather than the unrelated key.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.