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
@@ -82,7 +82,6 @@ import '@vuepic/vue-datepicker/dist/main.css';
import { getVersion, getBuildTime } from '@/lib/version.ts';
import { getI18nOptions } from '@/locales/helpers.ts';
import {
translateIf,
i18nFunctions
} from '@/locales/helper.js';
import {
@@ -206,7 +205,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.$alert = (message, confirmCallback) => showAlert(message, confirmCallback, i18n.global.t);
app.config.globalProperties.$confirm = (message, confirmCallback, cancelCallback) => showConfirm(message, confirmCallback, cancelCallback, i18n.global.t);