From 7a03384d310005bc1724db71470783f6679b6a71 Mon Sep 17 00:00:00 2001 From: xujie Date: Thu, 18 May 2023 11:29:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9fetch=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xujie --- .../application-dev/reference/apis/js-apis-system-fetch.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-system-fetch.md b/zh-cn/application-dev/reference/apis/js-apis-system-fetch.md index 56be1fbcfd..02d164a071 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-system-fetch.md +++ b/zh-cn/application-dev/reference/apis/js-apis-system-fetch.md @@ -22,43 +22,36 @@ fetch(options:{ * @since 3 */ url: string; - /** * Request parameter, which can be of the string type or a JSON object. * @since 3 */ data?: string | object; - /** * Request header, which accommodates all attributes of the request. * @since 3 */ header?: Object; - /** * Request methods available: OPTIONS, GET, HEAD, POST, PUT, DELETE and TRACE. The default value is GET. * @since 3 */ method?: string; - /** * The return type can be text, or JSON. By default, the return type is determined based on Content-Type in the header returned by the server. * @since 3 */ responseType?: string; - /** * Called when the network data is obtained successfully. * @since 3 */ success?: (data: FetchResponse) => void; - /** * Called when the network data fails to be obtained. * @since 3 */ fail?: (data: any, code: number) => void; - /** * Called when the execution is completed. * @since 3 -- GitLab