mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-01-29 17:15:38 +08:00
fix: adjust something
This commit is contained in:
@@ -41,8 +41,8 @@ const ServiceMode = (props: Props) => {
|
||||
try {
|
||||
await installService();
|
||||
mutate("checkService");
|
||||
Notice.success("Service installed successfully");
|
||||
onClose();
|
||||
Notice.success("Service installed successfully");
|
||||
} catch (err: any) {
|
||||
mutate("checkService");
|
||||
onError(err);
|
||||
@@ -56,9 +56,9 @@ const ServiceMode = (props: Props) => {
|
||||
}
|
||||
|
||||
await uninstallService();
|
||||
Notice.success("Service uninstalled successfully");
|
||||
mutate("checkService");
|
||||
onClose();
|
||||
Notice.success("Service uninstalled successfully");
|
||||
} catch (err: any) {
|
||||
mutate("checkService");
|
||||
onError(err);
|
||||
|
||||
Reference in New Issue
Block a user