Commit 7d3039fe authored by TZW's avatar TZW

youshangjiao

parent 51ed0b35
import React, { useCallback, useState, useMemo } from 'react';
import { LogoutOutlined, LockOutlined } from '@ant-design/icons';
import { Menu, Spin, Form, Modal, message, Avatar, Select } from 'antd';
import { Menu, Spin, Button, Form, Modal, message, Avatar, Select } from 'antd';
import { history, useModel } from '@umijs/max';
import { stringify } from 'querystring';
import HeaderDropdown from '../HeaderDropdown';
......@@ -106,15 +106,18 @@ const AvatarDropdown = ({ menu }) => {
);
const loadings = (
<HeaderDropdown overlay={menuHeaderDropdown}>
<span className={`${styles.action} ${styles.account}`}>
<Spin
size="small"
style={{
marginLeft: 8,
marginRight: 8,
}}
/>
</span>
<React.Fragment>
<Button onClick={onMenuClick}>
<Spin
size="small"
style={{
marginLeft: 8,
marginRight: 8,
}}
/>
退出
</Button>
</React.Fragment>
</HeaderDropdown>
);
......
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