feat(sj_map_reduce): 支持项目更新提示

This commit is contained in:
xlsea 2024-06-26 17:58:43 +08:00
parent 6f6c00b0ae
commit 932f68f8ca
3 changed files with 1 additions and 5 deletions

View File

@ -4,5 +4,3 @@ VITE_ICONIFY_URL=/snail-job/iconify
# backend service base url, prod environment
VITE_SERVICE_BASE_URL=/snail-job
VITE_UPDATE_NOTIFY=N

View File

@ -2,5 +2,3 @@ VITE_BASE_URL=/
# backend service base url, test environment
VITE_SERVICE_BASE_URL=http://localhost:8080/snail-job
VITE_UPDATE_NOTIFY=N

View File

@ -13,7 +13,7 @@ export function setupAppVersionNotification() {
const buildTime = await getHtmlBuildTime();
const { VITE_UPDATE_NOTIFY } = import.meta.env;
if (buildTime === BUILD_TIME && VITE_UPDATE_NOTIFY !== 'Y') {
if (buildTime === BUILD_TIME || VITE_UPDATE_NOTIFY !== 'Y') {
return;
}