mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-12 19:33:41 +08:00
fix: removed local update notice
This commit is contained in:
@@ -55,15 +55,6 @@ function App() {
|
|||||||
} else {
|
} else {
|
||||||
localStorage.removeItem('chat_link');
|
localStorage.removeItem('chat_link');
|
||||||
}
|
}
|
||||||
if (
|
|
||||||
data.version !== process.env.REACT_APP_VERSION &&
|
|
||||||
data.version !== 'v0.0.0' &&
|
|
||||||
process.env.REACT_APP_VERSION !== ''
|
|
||||||
) {
|
|
||||||
showNotice(
|
|
||||||
`新版本可用:${data.version},请使用快捷键 Shift + F5 刷新页面`
|
|
||||||
);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
showError('无法正常连接至服务器!');
|
showError('无法正常连接至服务器!');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user