diff --git a/src/plugins/http-fetch.ts b/src/plugins/http-fetch.ts index 49d9d1f2..8b80171c 100644 --- a/src/plugins/http-fetch.ts +++ b/src/plugins/http-fetch.ts @@ -48,7 +48,7 @@ type OptionsType = { /**请求地址 */ url: string; /**请求方法 */ - method: 'get' | 'post' | 'put' | 'delete'; + method: 'get' | 'post' | 'put' | 'delete' | 'patch'; /**请求头 */ headers?: HeadersInit; /**地址栏参数 */