From bd1dfc9e6c9b9f8076ca2783ce598e0936b4c664 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 22 十二月 2021 14:36:03 +0800 Subject: [PATCH] 2021-12-22 --- src/tabviews/zshare/fileupload/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/tabviews/zshare/fileupload/index.jsx b/src/tabviews/zshare/fileupload/index.jsx index 3ef6469..1e71103 100644 --- a/src/tabviews/zshare/fileupload/index.jsx +++ b/src/tabviews/zshare/fileupload/index.jsx @@ -2,7 +2,8 @@ import PropTypes from 'prop-types' import { is, fromJS } from 'immutable' import moment from 'moment' -import { Upload, Button, Icon, Progress, notification } from 'antd' +import { Upload, Button, Progress, notification } from 'antd' +import { UploadOutlined } from '@ant-design/icons' import SparkMD5 from 'spark-md5' import Api from '@/api' import './index.scss' @@ -454,10 +455,10 @@ return ( <Upload {...props}> {fileType !== 'picture-card' ? <Button> - <Icon type="upload" /> 鐐瑰嚮涓婁紶 + <UploadOutlined /> 鐐瑰嚮涓婁紶 </Button> : null} {fileType === 'picture-card' ? <span style={{whiteSpace: 'nowrap'}}> - <Icon type="upload" /> 鐐瑰嚮涓婁紶 + <UploadOutlined /> 鐐瑰嚮涓婁紶 </span> : null} {showprogress ? <Progress percent={percent} size="small" /> : null} </Upload> -- Gitblit v1.8.0