migrate two column select to composition API and typescript

This commit is contained in:
MaysWind
2025-01-14 22:23:24 +08:00
parent d3e6756c22
commit cd2e6c1aae
4 changed files with 177 additions and 176 deletions
-2
View File
@@ -73,7 +73,6 @@ import router from '@/router/desktop.js';
import { getVersion, getBuildTime } from '@/lib/version.ts';
import { getI18nOptions } from '@/locales/helpers.ts';
import {
translateIf,
translateError,
i18nFunctions
} from '@/locales/helper.js';
@@ -473,7 +472,6 @@ app.config.globalProperties.$version = getVersion();
app.config.globalProperties.$buildTime = getBuildTime();
app.config.globalProperties.$locale = i18nFunctions(i18n.global);
app.config.globalProperties.$tIf = (text, isTranslate) => translateIf(text, isTranslate, i18n.global.t);
app.config.globalProperties.$tError = (message) => translateError(message, i18n.global.t);
app.mount('#app');