mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
fix(ui): shell type not changed when server changed
This commit is contained in:
@@ -92,8 +92,6 @@ export function MainConfigCard({
|
||||
}
|
||||
form.resetField("bypassJavaModule");
|
||||
form.resetField("shellTool");
|
||||
|
||||
handleShellToolChange(form.getValues("shellTool"));
|
||||
}
|
||||
};
|
||||
|
||||
@@ -127,6 +125,8 @@ export function MainConfigCard({
|
||||
};
|
||||
|
||||
if (shellToolMap) {
|
||||
console.log(value);
|
||||
console.log(shellToolMap[value]);
|
||||
setShellTypes(shellToolMap[value]);
|
||||
form.resetField("urlPattern");
|
||||
form.resetField("shellType");
|
||||
|
||||
Reference in New Issue
Block a user