mirror of
https://github.com/CrazyJasonwell/clash-verge-rev.git
synced 2026-10-20 11:18:32 +08:00
fix: adjust something
This commit is contained in:
1 parent
9319851118
commit
c2d0ccea3c
4 files changed
+11
-7
No files matched your search
@@ -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