fix: 请求发送patch访问要大写匹配
This commit is contained in:
@@ -53,7 +53,7 @@ type OptionsType = {
|
||||
/**请求地址 */
|
||||
url: string;
|
||||
/**请求方法 */
|
||||
method: 'get' | 'post' | 'put' | 'delete' | 'patch';
|
||||
method: 'get' | 'post' | 'put' | 'delete' | 'PATCH';
|
||||
/**请求头 */
|
||||
headers?: HeadersInit;
|
||||
/**地址栏参数 */
|
||||
|
||||
Reference in New Issue
Block a user