Commit 3469a976 authored by Chunchi Che's avatar Chunchi Che

add exit btn

parent 091aa5e0
Pipeline #25651 passed with stages
in 14 minutes and 5 seconds
......@@ -2,6 +2,7 @@ import {
ArrowRightOutlined,
CheckOutlined,
CloseCircleFilled,
LogoutOutlined,
MessageFilled,
StepForwardFilled,
} from "@ant-design/icons";
......@@ -147,6 +148,9 @@ export const Menu = () => {
].map((item, i) => ({ key: i, ...item }));
const globalDisable = !matStore.isMe(currentPlayer);
const onExit = () => {};
return (
<div className={styles["menu-container"]}>
<DropdownWithTitle
......@@ -185,6 +189,9 @@ export const Menu = () => {
>
<Button icon={<CloseCircleFilled />} type="text"></Button>
</DropdownWithTitle>
<Tooltip title="退出页面">
<Button icon={<LogoutOutlined />} type="text" onClick={onExit}></Button>
</Tooltip>
</div>
);
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment