28 lines
418 B
TypeScript
28 lines
418 B
TypeScript
|
declare global {
|
||
|
interface PageQuery {
|
||
|
pageNum: number;
|
||
|
pageSize: number;
|
||
|
}
|
||
|
|
||
|
interface PageResult<T> {
|
||
|
list: T;
|
||
|
total: number;
|
||
|
}
|
||
|
type DialogType = {
|
||
|
title?: string;
|
||
|
visible: boolean;
|
||
|
};
|
||
|
|
||
|
type OptionType = {
|
||
|
value: string;
|
||
|
label: string;
|
||
|
checked?: boolean;
|
||
|
children?: OptionType[];
|
||
|
};
|
||
|
interface Window {
|
||
|
webConfig: any;//全局变量名
|
||
|
}
|
||
|
|
||
|
}
|
||
|
export {};
|