From acbdfc4639721da71176894983d852a5fd696a04 Mon Sep 17 00:00:00 2001 From: MichelleChung <1242874891@qq.com> Date: 星期一, 24 七月 2023 19:22:20 +0800 Subject: [PATCH] !31 【轻量级 PR】新增全局请求头 clientid 适配后端 token 校验 Merge pull request !31 from MichelleChung/ts --- src/types/module.d.ts | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/types/module.d.ts b/src/types/module.d.ts index 0e0490e..987c349 100644 --- a/src/types/module.d.ts +++ b/src/types/module.d.ts @@ -1,6 +1,8 @@ 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'; @@ -13,6 +15,8 @@ $modal: typeof modal; $tab: typeof tab; $download: typeof download; + $auth: typeof auth; + $cache: typeof cache; animate: typeof animate; useDict: typeof useDict; -- Gitblit v1.9.3