Commit d6826cc1 by zhaochengxiang

bug fix

parent a70507b4
import React, { useEffect, useState, useRef } from 'react';
import {Card, Spin, Tooltip, Tree, Modal, AutoComplete, Select} from 'antd';
import {Card, Spin, Tooltip, Tree, Modal, AutoComplete, Select,Button} from 'antd';
import { ReloadOutlined, SettingOutlined } from '@ant-design/icons';
import { useContextMenu, Menu as RcMenu, Item as RcItem } from "react-contexify";
import LocalStorage from 'local-storage';
......@@ -607,11 +607,8 @@ const AssetTree = (props) => {
}
</Select>
<Tooltip title="刷新目录">
<ReloadOutlined className='default' onClick={refreshTree} style={{ fontSize:16,cursor:'pointer',flex:1}} />
<Button type='text' onClick={refreshTree} icon={<ReloadOutlined />} />
</Tooltip>
{/* <Tooltip title="自定义目录">
<SettingOutlined className='default' onClick={customDir} style={{ fontSize:16,cursor:'pointer',flex:1}} />
</Tooltip> */}
<div style={{ flex: 3 }}></div>
</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