mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-25 13:45:03 +08:00
fix(ui): add close button to all success toasts
This commit is contained in:
@@ -54,6 +54,7 @@ export function AutoFailoverConfigPanel({
|
||||
});
|
||||
toast.success(
|
||||
t("proxy.autoFailover.configSaved", "自动故障转移配置已保存"),
|
||||
{ closeButton: true },
|
||||
);
|
||||
} catch (e) {
|
||||
toast.error(
|
||||
|
||||
Reference in New Issue
Block a user