修复版本号匹配

This commit is contained in:
hanhh
2021-10-13 22:45:24 +08:00
parent cb86fda169
commit 7acda0c039
2 changed files with 5 additions and 6 deletions
+3 -3
View File
@@ -40,14 +40,14 @@ const CheckUpdate = ({ ws }: any) => {
};
const showConfirmUpdateModal = (data: any) => {
const { version: newVersion, changeLog } = data;
const { lastVersion, lastLog } = data;
Modal.confirm({
width: 500,
title: (
<>
<div></div>
<div style={{ fontSize: 12, fontWeight: 400, marginTop: 5 }}>
{newVersion}使{version}
{lastVersion}使{version}
</div>
</>
),
@@ -61,7 +61,7 @@ const CheckUpdate = ({ ws }: any) => {
fontWeight: 400,
}}
>
{changeLog}
{lastLog}
</pre>
),
okText: '更新',