diff --git a/spug_web/src/pages/system/setting/About.js b/spug_web/src/pages/system/setting/About.js index 328ced0..d4d370c 100644 --- a/spug_web/src/pages/system/setting/About.js +++ b/spug_web/src/pages/system/setting/About.js @@ -26,7 +26,7 @@ class About extends React.Component { .finally(() => this.setState({fetching: false})) http.get('https://gitee.com/api/v5/repos/openspug/spug/releases/latest') .then(res => { - if (res.tag_name && res.tag_name === VERSION) { + if (res.tag_name && res.tag_name !== VERSION) { const logs = res.body.replace(/- */g, ''); notification.open({ key: 'new_version',