From 31da01bdd1e4fe8fb8eec41f401d73bcf6cc18b7 Mon Sep 17 00:00:00 2001 From: ahao <liuhaoai545@gmail.com> Date: 星期六, 06 一月 2024 17:27:01 +0800 Subject: [PATCH] fix https://gitee.com/dromara/RuoYi-Vue-Plus/issues/I8TMAI --- src/types/module.d.ts | 29 ++++++++++++++++++----------- 1 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/types/module.d.ts b/src/types/module.d.ts index 987c349..984df9f 100644 --- a/src/types/module.d.ts +++ b/src/types/module.d.ts @@ -1,15 +1,17 @@ -import type modal from '@/plugins/modal'; -import type tab from '@/plugins/tab'; -import type download from '@/plugins/download'; -import type auth from '@/plugins/auth'; -import type cache from '@/plugins/cache'; -import type animate from '@/animate'; -import type { useDict } from '@/utils/dict'; -import type { addDateRange, handleTree, selectDictLabel, selectDictLabels, parseTime } from '@/utils/ruoyi'; -import type { getConfigKey, updateConfigByKey } from '@/api/system/config'; -import type { download as rd } from '@/utils/request'; +import modal from '@/plugins/modal'; +import tab from '@/plugins/tab'; +import download from '@/plugins/download'; +import auth from '@/plugins/auth'; +import cache from '@/plugins/cache'; +import animate from '@/animate'; +import { useDict } from '@/utils/dict'; +import { handleTree, addDateRange, selectDictLabel, selectDictLabels, parseTime } from '@/utils/ruoyi'; +import { getConfigKey, updateConfigByKey } from '@/api/system/config'; +import { download as rd } from '@/utils/request'; -declare module '@vue/runtime-core' { +export {}; + +declare module 'vue' { interface ComponentCustomProperties { // 鍏ㄥ眬鏂规硶澹版槑 $modal: typeof modal; @@ -30,3 +32,8 @@ parseTime: typeof parseTime; } } + +declare module 'vform3-builds' { + const content: any; + export = content; +} -- Gitblit v1.9.3