From 24f1e8b4b1a54191973eca060bc40c4a1a6d8ea6 Mon Sep 17 00:00:00 2001 From: QianRj <923207736@qq.com> Date: 星期二, 19 十一月 2024 14:40:36 +0800 Subject: [PATCH] update 优化 直接从@/lang/*.ts后缀的i18n文件中读取各国语言包信息 --- src/types/global.d.ts | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/types/global.d.ts b/src/types/global.d.ts index 10cc438..229e181 100644 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -1,12 +1,9 @@ -import type { ComponentInternalInstance as ComponentInstance } from 'vue/runtime-core'; -import type { PropType as VuePropType } from 'vue'; +import type { PropType as VuePropType, ComponentInternalInstance as ComponentInstance } from 'vue'; import { LanguageEnum } from '@/enums/LanguageEnum'; declare global { /** vue Instance */ declare type ComponentInternalInstance = ComponentInstance; - /**vue */ - declare type PropType<T> = VuePropType<T>; /** * 鐣岄潰瀛楁闅愯棌灞炴�� -- Gitblit v1.9.3