ant-design / ant-design/pro-components

🐛[BUG] 使用ProTable组件,搜索查询时,输入框输入 \ 该字符,request中拿到的参数会变成 \\

Open
#8,373 6 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

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述
搜索查询时,输入框输入 \ 该字符,request中拿到的参数会变成 \\ ,不论输入几个 \\ 该字符,参数都会拿到双倍的 \\

![image](https://github.com/ant-design/pro-components/assets/21968050/5d0dbd81-07ee-463b-98c2-afc18c6684c1)

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reproducing the issue in the ProTable search input, then trace how its search value becomes the request parameters. Done means entering any number of backslash characters preserves that count in the request instead of doubling it.

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.