diff --git a/src/components/UpdateModal/index.tsx b/src/components/UpdateModal/index.tsx index 7166fd0..e97819b 100644 --- a/src/components/UpdateModal/index.tsx +++ b/src/components/UpdateModal/index.tsx @@ -66,7 +66,7 @@ const UpdateModal = forwardRef((props: any, ref: any) => { style={{ width: '100%', height: '40px', marginBottom: '10px' }} className={`m-ant-btn`} >立即更新 - {/*
setIsUpdateModal(false)}>暂不更新
*/} + {import.meta.env.VITE_ENV === "development" ?
setIsUpdateModal(false)}>暂不更新
: null} : progress < 100 ?
下载进度:{progress}%