diff --git a/src/types/module.d.ts b/src/types/module.d.ts index bc2f16b..984df9f 100644 --- a/src/types/module.d.ts +++ b/src/types/module.d.ts @@ -11,7 +11,7 @@ import { download as rd } from '@/utils/request'; export {}; -declare module '@vue/runtime-core' { +declare module 'vue' { interface ComponentCustomProperties { // 全局方法声明 $modal: typeof modal;