From 7b9a9bb6b1a25a4fe9fcfadeb4bf98f46ac92b36 Mon Sep 17 00:00:00 2001 From: vapao Date: Mon, 28 Sep 2020 22:49:58 +0800 Subject: [PATCH] =?UTF-8?q?U=20=E4=BC=98=E5=8C=96=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=8F=90=E7=A4=BA=E4=BF=A1=E6=81=AF2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- spug_web/src/pages/system/setting/About.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',