diff --git a/src/components/UpdateModal/index.tsx b/src/components/UpdateModal/index.tsx index 343cf40..7166fd0 100644 --- a/src/components/UpdateModal/index.tsx +++ b/src/components/UpdateModal/index.tsx @@ -48,11 +48,12 @@ const UpdateModal = forwardRef((props: any, ref: any) => { title="" open={isUpdateModal} footer={null} - onCancel={() => closeModal()} + // onCancel={() => closeModal()} centered width={'400px'} className='modal-padding' maskClosable={false} + closeIcon={false} >
@@ -62,10 +63,10 @@ const UpdateModal = forwardRef((props: any, ref: any) => {
-
setIsUpdateModal(false)}>暂不更新
+ {/*
setIsUpdateModal(false)}>暂不更新
*/}
: progress < 100 ?
下载进度:{progress}%