diff --git a/src/types/module.d.ts b/src/types/module.d.ts index 987c349..ce3edd1 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;