diff --git a/src/types/module.d.ts b/src/types/module.d.ts index 987c349330fbf2da68f3c7d99f23e19ae4ee150e..ce3edd1897e390953edc3b881fb3552d132e6947 100644 --- a/src/types/module.d.ts +++ b/src/types/module.d.ts @@ -9,7 +9,7 @@ import type { addDateRange, handleTree, selectDictLabel, selectDictLabels, parse import type { getConfigKey, updateConfigByKey } from '@/api/system/config'; import type { download as rd } from '@/utils/request'; -declare module '@vue/runtime-core' { +declare module 'vue' { interface ComponentCustomProperties { // 全局方法声明 $modal: typeof modal;