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