feat: 支持发送patch方法

This commit is contained in:
TsMask
2023-10-07 15:34:13 +08:00
parent 16f7ea4f51
commit ee2a5290b1

View File

@@ -48,7 +48,7 @@ type OptionsType = {
/**请求地址 */ /**请求地址 */
url: string; url: string;
/**请求方法 */ /**请求方法 */
method: 'get' | 'post' | 'put' | 'delete'; method: 'get' | 'post' | 'put' | 'delete' | 'patch';
/**请求头 */ /**请求头 */
headers?: HeadersInit; headers?: HeadersInit;
/**地址栏参数 */ /**地址栏参数 */