From 982c4e249b3e2cf6de86c345ce5753ed36706d50 Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Fri, 23 Aug 2024 15:01:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/components/UpdateModal/index.module.scss | 10 ++++++---- src/components/UpdateModal/index.tsx | 9 ++++----- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/package.json b/package.json index f56ba4b..aa54305 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "multi.person.meeting", "private": true, - "version": "0.0.1", + "version": "0.0.0", "main": "main.js", "authors": "yj", "description": "test", @@ -99,4 +99,4 @@ "shortcutName": "智汇享" } } -} +} \ No newline at end of file diff --git a/src/components/UpdateModal/index.module.scss b/src/components/UpdateModal/index.module.scss index a89a96e..0f04f6a 100644 --- a/src/components/UpdateModal/index.module.scss +++ b/src/components/UpdateModal/index.module.scss @@ -1,24 +1,26 @@ .isUpdateModal { - height: 400px; + height: 500px; background-color: rgb(21, 25, 29); background-size: 100% auto; background-repeat: no-repeat; color: #ffffff; - padding: 230px 30px 0; + padding: 140px 30px 0; box-sizing: border-box; .remarks { width: 100%; color: #C8C8C8; + height: 70%; + overflow-y: auto; } .buttons { width: 100%; - margin-top: 32px; + margin-top: 10px; text-align: center; .button2 { - margin-top: 20px; + margin-top: 10px; color: #555454; cursor: pointer; font-size: 14px; diff --git a/src/components/UpdateModal/index.tsx b/src/components/UpdateModal/index.tsx index 8c88264..9b3ff01 100644 --- a/src/components/UpdateModal/index.tsx +++ b/src/components/UpdateModal/index.tsx @@ -22,7 +22,7 @@ const UpdateModal = forwardRef((props: any, ref: any) => { const [updateContent, setUpdateContent] = useState('') // 版本更新内容 function getContent() { - fetch('https://update.23544.com/metting/update.txt') // 配置服务器地址 + fetch(`https://update.23544.com/metting/update.txt?t=${+new Date()}`) // 配置服务器地址 .then(async response => { if (response.status === 200) { return setUpdateContent(await response.text()) @@ -50,13 +50,12 @@ const UpdateModal = forwardRef((props: any, ref: any) => { footer={null} onCancel={() => closeModal()} centered - width={'338px'} + width={'400px'} className='modal-padding' maskClosable={false} >