fix: port value not rerender
This commit is contained in:
parent
cb8c7057ee
commit
9a85b28b18
@ -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>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user