提交代码
This commit is contained in:
1 parent
4d8267e561
commit
9fdca56ca7
99 files changed
+967
-31
No files matched your search
Vendored
+12
-1
@@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user