Update App.js
This commit is contained in:
parent
974420344e
commit
beedfd1bb3
@ -52,11 +52,11 @@ function App() {
|
|||||||
process.env.REACT_APP_VERSION !== ''
|
process.env.REACT_APP_VERSION !== ''
|
||||||
) {
|
) {
|
||||||
showNotice(
|
showNotice(
|
||||||
`新版本可用:${data.version},请使用快捷键 Shift + F5 刷新页面`
|
`A new version is available: ${data.version}, Please use the shortcut key Shift + F5 to refresh the page.`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
showError('无法正常连接至服务器!');
|
showError('Unable to connect to the server.!');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user