Skip to content

Commit

Permalink
fix: 增加url需要decode
Browse files Browse the repository at this point in the history
  • Loading branch information
lixingjuan committed Jul 26, 2023
1 parent 8aaa48e commit 2b8dd7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Proxy/src/components/AddModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const AddProxyModal = ({
<Input.TextArea
autoSize
allowClear
onChange={(e) => setOriginalUrl(e.target.value || '')}
onChange={(e) => setOriginalUrl(decodeURIComponent(e.target.value || ''))}
/>
{errorMsg && originalUrl.length > 0 && (
<span className="color-red font-12">{errorMsg}</span>
Expand Down

0 comments on commit 2b8dd7f

Please sign in to comment.