mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-21 10:14:26 +08:00
only show version dialog when frontend and backend version are not the same
This commit is contained in:
@@ -110,8 +110,11 @@ function showVersion(): void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
versionClickCount.value++;
|
versionClickCount.value++;
|
||||||
|
|
||||||
|
if (serverDisplayVersion.value && serverDisplayVersion.value !== 'unknown' && serverDisplayVersion.value !== clientVersion) {
|
||||||
showAlert(versionMessage);
|
showAlert(versionMessage);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
init();
|
init();
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user