From 1af4d5590ecdbd883b77c83f3b71321d2abf72f7 Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 22 Mar 2022 19:08:51 +0800 Subject: [PATCH] update --- Readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Readme.md b/Readme.md index dc8230f..998c0e9 100644 --- a/Readme.md +++ b/Readme.md @@ -65,6 +65,7 @@ f1('/get_list', {body: {page: 1}}) + signal 网络控制信号, 可用于中断请求 + timeout 超时时间, 默认30秒, 单位毫秒 + ```js fetch.BASE_URL = '//192.168.1.100' fetch.__INIT__ = {headers: {token: 123456}} // 2.x 之后将废弃, 不推荐使用了