如何把url带的参数转成json,如:http://www.baidu.com?a=1&b=2 变成 {a: 1, b: 2}
Open
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 实现场景:
请简单描述你想要实现的原始场景,例如:我想要实现xxx的功能...
#### 存在的问题:
请简单描述你现在遇到的不符合预期的问题...
#### 当前方案:
请粘贴你当前方案的完整 amis schema 代码...
```
code here...
```
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue does not name a file, test, entry point, or concrete AMIS schema; it only asks about converting URL parameters into JSON and provides an empty template. First clarify the intended scenario, current behavior, parameter parsing rules, and expected result, then locate the relevant URL or page-configuration handling and define tests for the confirmed behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100