From f26635e9ad10982a9f8c6015dda485954e81d153 Mon Sep 17 00:00:00 2001 From: vapao Date: Tue, 28 Sep 2021 14:04:31 +0800 Subject: [PATCH] fix issues --- spug_web/src/pages/system/setting/About.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/spug_web/src/pages/system/setting/About.js b/spug_web/src/pages/system/setting/About.js index 3ec82cf..f74a359 100644 --- a/spug_web/src/pages/system/setting/About.js +++ b/spug_web/src/pages/system/setting/About.js @@ -6,7 +6,7 @@ import React from 'react'; import styles from './index.module.css'; import { SmileTwoTone } from '@ant-design/icons'; -import { Descriptions, Spin, Button, notification } from 'antd'; +import { Descriptions, Spin, Button, Alert, notification } from 'antd'; import { observer } from 'mobx-react' import { http, VERSION } from 'libs'; @@ -33,7 +33,7 @@ class About extends React.Component { duration: 0, top: 88, message: `发现新版本 ${res.version}`, - icon: , + icon: , btn: 如何升级?, description:
{res.content}
{res.extra}
}) @@ -43,7 +43,7 @@ class About extends React.Component { duration: 0, top: 88, message: `已是最新版本`, - icon: , + icon: , btn: , description:
{res.extra}
}) @@ -71,6 +71,9 @@ class About extends React.Component { rel="noopener noreferrer">https://spug.cc/docs/change-log/ + {info['spug_version'] !== VERSION && ( + + )} ) }