mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +08:00
add refresh browser cache when client version not match server version
This commit is contained in:
@@ -130,7 +130,7 @@ import { useRootStore } from '@/stores/index.ts';
|
||||
|
||||
import { APPLICATION_LOGO_PATH } from '@/consts/asset.ts';
|
||||
import { ThemeType } from '@/core/theme.ts';
|
||||
import { getVersion } from '@/lib/version.ts';
|
||||
import { getClientDisplayVersion } from '@/lib/version.ts';
|
||||
|
||||
import {
|
||||
mdiChevronLeft
|
||||
@@ -150,7 +150,7 @@ const { tt } = useI18n();
|
||||
|
||||
const rootStore = useRootStore();
|
||||
|
||||
const version = `v${getVersion()}`;
|
||||
const version = `${getClientDisplayVersion()}`;
|
||||
|
||||
const passwordInput = useTemplateRef<VTextField>('passwordInput');
|
||||
const confirmPasswordInput = useTemplateRef<VTextField>('confirmPasswordInput');
|
||||
|
||||
Reference in New Issue
Block a user