Skip to content
Snippets Groups Projects
Commit 9a85b28b authored by GyDi's avatar GyDi
Browse files

fix: port value not rerender

parent cb8c7057
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,12 @@ const SettingClash = ({ onError }: Props) => {
<SettingItem>
<ListItemText primary="混合代理端口" />
<TextField size="small" defaultValue={mixedPort!} sx={{ width: 120 }} />
<TextField
size="small"
value={mixedPort!}
sx={{ width: 120 }}
disabled
/>
</SettingItem>
</List>
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment