shell 增加国际化

This commit is contained in:
whyour committed 2026-06-14 21:19:06 +08:00
1 parent 0ee0b83207
commit b5a5fb3be6
16 files changed
+420 -94

No files matched your search

+2 -2
View File
@@ -89,7 +89,7 @@ export default function () {
if (code === 200 && data.username) {
setUser(data);
if (location.pathname === '/') {
history.push('/crontab');
history.push('/dashboard');
}
}
needLoading && setLoading(false);
@@ -218,7 +218,7 @@ export default function () {
if (['/login', '/initialization', '/error'].includes(location.pathname)) {
if (systemInfo?.isInitialized && location.pathname === '/initialization') {
history.push('/crontab');
history.push('/dashboard');
}
if (systemInfo || location.pathname === '/error') {