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:
@@ -51,7 +51,7 @@ export function ProxyPanel() {
|
||||
navigator.clipboard.writeText(
|
||||
`http://${status.address}:${status.port}`,
|
||||
);
|
||||
toast.success("地址已复制");
|
||||
toast.success("地址已复制", { closeButton: true });
|
||||
}}
|
||||
>
|
||||
复制
|
||||
|
||||
Reference in New Issue
Block a user