Commit 564eb5d9 by CaIon

移除更新提醒

parent 3e431479
...@@ -57,15 +57,15 @@ function App() { ...@@ -57,15 +57,15 @@ function App() {
} else { } else {
localStorage.removeItem('chat_link'); localStorage.removeItem('chat_link');
} }
if ( // if (
data.version !== process.env.REACT_APP_VERSION && // data.version !== process.env.REACT_APP_VERSION &&
data.version !== 'v0.0.0' && // data.version !== 'v0.0.0' &&
process.env.REACT_APP_VERSION !== '' // process.env.REACT_APP_VERSION !== ''
) { // ) {
showNotice( // showNotice(
`新版本可用:${data.version},请使用快捷键 Shift + F5 刷新页面` // `新版本可用:${data.version},请使用快捷键 Shift + F5 刷新页面`
); // );
} // }
} else { } else {
showError('无法正常连接至服务器!'); showError('无法正常连接至服务器!');
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment