mirror of
https://gitee.com/bootx/dax-pay-ui.git
synced 2025-09-01 18:17:46 +00:00
feat(axios): add withToken
option
添加withToken配置,用于控制request是否提交token
This commit is contained in:
2
types/axios.d.ts
vendored
2
types/axios.d.ts
vendored
@@ -19,6 +19,8 @@ export interface RequestOptions {
|
||||
// Whether to add a timestamp
|
||||
joinTime?: boolean;
|
||||
ignoreCancelToken?: boolean;
|
||||
// Whether to send token in header
|
||||
withToken?: boolean;
|
||||
}
|
||||
|
||||
export interface Result<T = any> {
|
||||
|
Reference in New Issue
Block a user