提交代码

This commit is contained in:
zlwu committed 2025-08-25 21:13:26 +08:00
1 parent 4d8267e561
commit 9fdca56ca7
99 files changed
+967 -31

No files matched your search

+12 -1
View File
@@ -11,10 +11,21 @@ declare global {
declare type ComponentRef<T> = T;
/**
* 扩展ComponentInternalInstance以包含useDict方法
* 扩展ComponentInternalInstance以包含useDict方法和tab插件
*/
declare interface ComponentPublicInstance {
useDict?: (...args: string[]) => { [key: string]: DictDataOption[] };
$tab?: {
openPage: (url: string, title?: string, query?: any) => any;
closePage: (obj?: any) => any;
closeOpenPage: (obj: any) => void;
refreshPage: (obj?: any) => Promise<void>;
closeAllPage: () => any;
closeLeftPage: (obj?: any) => any;
closeRightPage: (obj?: any) => any;
closeOtherPage: (obj?: any) => any;
updatePage: (obj: any) => any;
};
}
/**