interface Window { XEUtils: Record existLoading: boolean lazy: number unique: number tokenRefreshing: boolean requests: Function[] eventSource: EventSource loadLangHandle: Record } interface anyObj { [key: string]: any } interface treeData { id?: string value?: string name?: string label?: string children: treeData[] [key: string]: any } interface TableDefaultData { list: T remark: string total: number } interface ApiResponse { code: number data: T msg: string time: number } type ApiPromise = Promise>