From bd9ed3843066b507102e82256a30fba584aa202b Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Wed, 14 Aug 2024 17:07:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SharedFilesModel/index.tsx | 22 +++++++++++++++------- src/page/Home/Index/index.tsx | 5 ++--- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/components/SharedFilesModel/index.tsx b/src/components/SharedFilesModel/index.tsx index 11b1049..0ff32ed 100644 --- a/src/components/SharedFilesModel/index.tsx +++ b/src/components/SharedFilesModel/index.tsx @@ -26,6 +26,7 @@ const SharedFilesModel = forwardRef((props: any, ref: any) => { const { state } = useLocation(); const [selectedRowKeys, setSelectedRowKeys] = useState([]); const [showRowSelection, setShowRowSelection] = useState(false); + const [isUpFile, setIsUpFile] = useState(false); const [isSharedFilesModel, setIsSharedFilesModel] = useState(false); const [user, setUser] = useState({}); const [fileList, setFileList] = useState({ @@ -80,13 +81,13 @@ const SharedFilesModel = forwardRef((props: any, ref: any) => { 共{fileList.total}个文件 -
+ {isUpFile ?
上传进度: {/* {uploadProgress === 100 ? '上传完成' : '上传中'} */} -
+
: null}
{