mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
fix: port value not rerender
This commit is contained in:
@@ -92,7 +92,12 @@ const SettingClash = ({ onError }: Props) => {
|
|||||||
|
|
||||||
<SettingItem>
|
<SettingItem>
|
||||||
<ListItemText primary="混合代理端口" />
|
<ListItemText primary="混合代理端口" />
|
||||||
<TextField size="small" defaultValue={mixedPort!} sx={{ width: 120 }} />
|
<TextField
|
||||||
|
size="small"
|
||||||
|
value={mixedPort!}
|
||||||
|
sx={{ width: 120 }}
|
||||||
|
disabled
|
||||||
|
/>
|
||||||
</SettingItem>
|
</SettingItem>
|
||||||
</List>
|
</List>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user