mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-11-09 02:03:43 +08:00
optimize(utils): Reduce code indentation and improve readability (#496)
This commit is contained in:
@@ -12,7 +12,10 @@ export function setupAppVersionNotification() {
|
||||
|
||||
const buildTime = await getHtmlBuildTime();
|
||||
|
||||
if (buildTime !== BUILD_TIME) {
|
||||
if (buildTime === BUILD_TIME) {
|
||||
return;
|
||||
}
|
||||
|
||||
isShow = true;
|
||||
|
||||
const n = window.$notification?.create({
|
||||
@@ -45,7 +48,6 @@ export function setupAppVersionNotification() {
|
||||
isShow = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user