feat: 支持全局配置请求header

This commit is contained in:
ivinwu
2020-03-09 20:09:30 +08:00
parent 77813bb7f6
commit 5fd6bac8bf
10 changed files with 61 additions and 4246 deletions

View File

@@ -2,6 +2,7 @@
export interface IInitOption {
codeToSession: ICodeToSessionOptions;
sessionName: string;
setHeader?: (() => IAnyObject) | object;
urlPerfix?: string | (() => string);
doNotCheckSession?: boolean;
reLoginLimit?: number;