From 9ec49798437b2c5ecad3199d274742f27ed21bb3 Mon Sep 17 00:00:00 2001 From: geekact Date: Mon, 22 Jul 2024 01:20:07 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++----- docs/home.md | 13 +++++-------- 2 files changed, 10 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index a0a1b80..584715e 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,6 @@ - 可定制的多引擎数据持久化 - 支持局部模型,用完即扔 - 支持私有方法 -- 使用ES5语法,兼容性一流 # 使用环境 @@ -223,10 +222,11 @@ Taro 案例仓库:https://github.com/foca-js/foca-demo-taro #### 网络请求 -| 仓库 | 版本 | 描述 | -| --------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------ | -| [axios](https://github.com/axios/axios) | [![npm](https://img.shields.io/npm/v/axios)](https://www.npmjs.com/package/axios) | 当下最流行的请求库 | -| [foca-axios](https://github.com/foca-js/foca-axios) | [![npm](https://img.shields.io/npm/v/foca-axios)](https://www.npmjs.com/package/foca-axios) | axios 适配器,节流、缓存、重试 | +| 仓库 | 版本 | 描述 | +| ------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------- | +| [axios](https://github.com/axios/axios) | [![npm](https://img.shields.io/npm/v/axios)](https://www.npmjs.com/package/axios) | 当下最流行的请求库 | +| [foca-axios](https://github.com/foca-js/foca-axios) | [![npm](https://img.shields.io/npm/v/foca-axios)](https://www.npmjs.com/package/foca-axios) | axios++ 支持 节流、缓存、重试 | +| [foca-openapi](https://github.com/foca-js/foca-openapi) | [![npm](https://img.shields.io/npm/v/foca-openapi)](https://www.npmjs.com/package/foca-openapi) | 使用openapi文档生成请求服务 | #### 持久化存储引擎 diff --git a/docs/home.md b/docs/home.md index a795964..f1bbc6a 100644 --- a/docs/home.md +++ b/docs/home.md @@ -59,18 +59,15 @@ 一个前置下划线(`_`)就能让方法变成私有的,外部使用时 TS 不会提示私有方法和私有变量,简单好记又省心。 -#### 使用ES5语法,兼容性一流 - -npm包已经转译成ES5的语法和特性,适用于各种新旧浏览器甚至IE11(符合中国国情)。而且API方面我们只用了 `Promise` 和 `Object.assign` 这两个ES6的特性。 - # 生态 #### 网络请求 -| 仓库 | 版本 | 描述 | -| --------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------ | -| [axios](https://github.com/axios/axios) | [![npm](https://img.shields.io/npm/v/axios)](https://www.npmjs.com/package/axios) | 当下最流行的请求库 | -| [foca-axios](https://github.com/foca-js/foca-axios) | [![npm](https://img.shields.io/npm/v/foca-axios)](https://www.npmjs.com/package/foca-axios) | axios 适配器,节流、缓存、重试 | +| 仓库 | 版本 | 描述 | +| ------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------- | +| [axios](https://github.com/axios/axios) | [![npm](https://img.shields.io/npm/v/axios)](https://www.npmjs.com/package/axios) | 当下最流行的请求库 | +| [foca-axios](https://github.com/foca-js/foca-axios) | [![npm](https://img.shields.io/npm/v/foca-axios)](https://www.npmjs.com/package/foca-axios) | axios++ 支持 节流、缓存、重试 | +| [foca-openapi](https://github.com/foca-js/foca-openapi) | [![npm](https://img.shields.io/npm/v/foca-openapi)](https://www.npmjs.com/package/foca-openapi) | 使用openapi文档生成请求服务 | #### 持久化存储引擎