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 && ( + + )} ) }