2023-12-13 10:35:55 +00:00
|
|
|
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';
|
2023-04-02 01:01:56 +08:00
|
|
|
|
2023-06-06 20:55:23 +08:00
|
|
|
declare module '@vue/runtime-core' {
|
|
|
|
interface ComponentCustomProperties {
|
2023-04-03 00:05:09 +08:00
|
|
|
// 全局方法声明
|
|
|
|
$modal: typeof modal;
|
|
|
|
$tab: typeof tab;
|
|
|
|
$download: typeof download;
|
2023-06-23 20:45:50 +08:00
|
|
|
$auth: typeof auth;
|
2023-06-23 20:56:42 +08:00
|
|
|
$cache: typeof cache;
|
2023-04-03 00:05:09 +08:00
|
|
|
animate: typeof animate;
|
2023-04-02 01:01:56 +08:00
|
|
|
|
2023-04-03 00:05:09 +08:00
|
|
|
useDict: typeof useDict;
|
|
|
|
addDateRange: typeof addDateRange;
|
2023-06-06 20:55:23 +08:00
|
|
|
download: typeof rd;
|
2023-04-03 00:05:09 +08:00
|
|
|
handleTree: typeof handleTree;
|
|
|
|
getConfigKey: typeof getConfigKey;
|
|
|
|
updateConfigByKey: typeof updateConfigByKey;
|
|
|
|
selectDictLabel: typeof selectDictLabel;
|
|
|
|
selectDictLabels: typeof selectDictLabels;
|
|
|
|
parseTime: typeof parseTime;
|
|
|
|
}
|
2023-04-02 01:01:56 +08:00
|
|
|
}
|
2023-12-14 08:17:12 +00:00
|
|
|
|
|
|
|
declare module 'vform3-builds' {
|
|
|
|
const content: any;
|
|
|
|
export = content;
|
|
|
|
}
|