Commit 883bf13b by zhaochengxiang

复制下载驱动

parent 791ef0e4
......@@ -51,7 +51,8 @@ const FC = (props) => {
<Tooltip title={information?.impala?.downloadTip}>
<Button type='link' icon={<DownloadOutlined />} onClick={() => {
if (information?.impala?.downloadUrl) {
window.open(information?.impala?.downloadUrl);
copy(information?.impala?.downloadUrl);
showMessage('success', '复制成功');
}
}} />
</Tooltip>
......@@ -75,7 +76,8 @@ const FC = (props) => {
<Tooltip title={information?.hana?.downloadTip}>
<Button type='link' icon={<DownloadOutlined />} onClick={() => {
if (information?.hana?.downloadUrl) {
window.open(information?.hana?.downloadUrl);
copy(information?.hana?.downloadUrl);
showMessage('success', '复制成功');
}
}} />
</Tooltip>
......
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