add auth类型声明

This commit is contained in:
LiuHao 2023-06-23 20:45:50 +08:00
parent 374ee5d1a8
commit 7f68832edd

View File

@ -1,6 +1,7 @@
import type modal from '@/plugins/modal'; import type modal from '@/plugins/modal';
import type tab from '@/plugins/tab'; import type tab from '@/plugins/tab';
import type download from '@/plugins/download'; import type download from '@/plugins/download';
import type auth from '@/plugins/auth';
import type animate from '@/animate'; import type animate from '@/animate';
import type { useDict } from '@/utils/dict'; import type { useDict } from '@/utils/dict';
import type { addDateRange, handleTree, selectDictLabel, selectDictLabels, parseTime } from '@/utils/ruoyi'; import type { addDateRange, handleTree, selectDictLabel, selectDictLabels, parseTime } from '@/utils/ruoyi';
@ -13,6 +14,7 @@ declare module '@vue/runtime-core' {
$modal: typeof modal; $modal: typeof modal;
$tab: typeof tab; $tab: typeof tab;
$download: typeof download; $download: typeof download;
$auth: typeof auth;
animate: typeof animate; animate: typeof animate;
useDict: typeof useDict; useDict: typeof useDict;