From e657a507e3b85d65efb05bf156efef6d7c423781 Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: 星期日, 30 六月 2024 10:50:04 +0800 Subject: [PATCH] feat: 动态创建组件实例时, 设置路由name为组件名 解决缓存问题 --- src/types/global.d.ts | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/src/types/global.d.ts b/src/types/global.d.ts index c6cb210..229e181 100644 --- a/src/types/global.d.ts +++ b/src/types/global.d.ts @@ -1,11 +1,9 @@ -import type { ComponentInternalInstance as ComponentInstance, PropType as VuePropType } from 'vue/runtime-core'; +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