feat: enhance script validation and error handling

This commit is contained in:
wonfen
2025-02-26 05:21:14 +08:00
parent a489012a0c
commit d54ba48c11
12 changed files with 330 additions and 18 deletions

View File

@@ -51,7 +51,7 @@ export const ClashCoreViewer = forwardRef<DialogRef>((props, ref) => {
mutate("getClashConfig");
mutate("getVersion");
}, 100);
Notice.success(t("Switched to _clash Core", { core: `${core}` }), 1000);
// Notice.success(t("Switched to _clash Core", { core: `${core}` }), 1000);
} catch (err: any) {
Notice.error(err?.message || err.toString());
}