diff --git a/src/types/module.d.ts b/src/types/module.d.ts index 3b2f378..6929776 100644 --- a/src/types/module.d.ts +++ b/src/types/module.d.ts @@ -12,7 +12,7 @@ import type { LanguageType } from '@/lang'; export {}; -declare module '@vue/runtime-core' { +declare module 'vue' { interface ComponentCustomProperties { // 全局方法声明 $modal: typeof modal;