diff --git a/docs/apis/base/arrayBufferToBase64.md b/docs/apis/base/arrayBufferToBase64.md
index 58dd07ff7a11..2955d036f784 100644
--- a/docs/apis/base/arrayBufferToBase64.md
+++ b/docs/apis/base/arrayBufferToBase64.md
@@ -5,7 +5,7 @@ sidebar_label: arrayBufferToBase64
将 ArrayBuffer 数据转成 Base64 字符串。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/wx.arrayBufferToBase64.html)
diff --git a/docs/apis/base/base64ToArrayBuffer.md b/docs/apis/base/base64ToArrayBuffer.md
index 39e92a9f44f8..fcf1633ffaea 100644
--- a/docs/apis/base/base64ToArrayBuffer.md
+++ b/docs/apis/base/base64ToArrayBuffer.md
@@ -5,7 +5,7 @@ sidebar_label: base64ToArrayBuffer
将 Base64 字符串转成 ArrayBuffer 数据。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/wx.base64ToArrayBuffer.html)
diff --git a/docs/apis/base/canIUse.md b/docs/apis/base/canIUse.md
index d83c01d5ae8b..b89e51018998 100644
--- a/docs/apis/base/canIUse.md
+++ b/docs/apis/base/canIUse.md
@@ -5,7 +5,7 @@ sidebar_label: canIUse
判断小程序的 API,回调,参数,组件等是否在当前版本可用。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/wx.canIUse.html)
diff --git a/docs/apis/base/canIUseWebp.md b/docs/apis/base/canIUseWebp.md
index 58441f957933..b9c40ce6347d 100644
--- a/docs/apis/base/canIUseWebp.md
+++ b/docs/apis/base/canIUseWebp.md
@@ -7,7 +7,7 @@ sidebar_label: canIUseWebp
> 在小程序平台中仅在 android 和 devtools 设备时可用
-支持情况:
+支持情况:
## 类型
diff --git a/docs/apis/base/debug/console.md b/docs/apis/base/debug/console.md
index bfa70032e1d3..92124d77be67 100644
--- a/docs/apis/base/debug/console.md
+++ b/docs/apis/base/debug/console.md
@@ -9,7 +9,7 @@ sidebar_label: console
- 由于 vConsole 功能有限,以及不同客户端对 console 方法的支持情况有差异,建议开发者在小程序中只使用本文档中提供的方法。
- 部分内容展示的限制请参见调试
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/console.html)
@@ -19,7 +19,7 @@ sidebar_label: console
向调试面板中打印 debug 日志
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/console.debug.html)
@@ -35,7 +35,7 @@ sidebar_label: console
向调试面板中打印 error 日志
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/console.error.html)
@@ -54,7 +54,7 @@ sidebar_label: console
**注意**
仅在工具中有效,在 vConsole 中为空函数实现。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/console.group.html)
@@ -73,7 +73,7 @@ sidebar_label: console
**注意**
仅在工具中有效,在 vConsole 中为空函数实现。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/console.groupEnd.html)
@@ -85,7 +85,7 @@ sidebar_label: console
向调试面板中打印 info 日志
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/console.info.html)
@@ -101,7 +101,7 @@ sidebar_label: console
向调试面板中打印 log 日志
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/console.log.html)
@@ -117,7 +117,7 @@ sidebar_label: console
向调试面板中打印 warn 日志
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/debug/console.warn.html)
@@ -131,13 +131,13 @@ sidebar_label: console
## API 支持度
-| API | 微信小程序 | 抖音小程序 | H5 | React Native | Harmony |
-| :---: | :---: | :---: | :---: | :---: | :---: |
-| console | ✔️ | | | | |
-| console.debug | ✔️ | | | | |
-| console.error | ✔️ | | | | |
-| console.group | ✔️ | | | | |
-| console.groupEnd | ✔️ | | | | |
-| console.info | ✔️ | | | | |
-| console.log | ✔️ | ✔️ | | | |
-| console.warn | ✔️ | | | | |
+| API | 微信小程序 | 抖音小程序 | H5 | React Native | Harmony | Harmony hybrid |
+| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
+| console | ✔️ | | | | | ✔️ |
+| console.debug | ✔️ | | | | | ✔️ |
+| console.error | ✔️ | | | | | ✔️ |
+| console.group | ✔️ | | | | | ✔️ |
+| console.groupEnd | ✔️ | | | | | ✔️ |
+| console.info | ✔️ | | | | | ✔️ |
+| console.log | ✔️ | ✔️ | | | | ✔️ |
+| console.warn | ✔️ | | | | | ✔️ |
diff --git a/docs/apis/base/env/env.md b/docs/apis/base/env/env.md
index 74c5e61622ab..03d188dc5b06 100644
--- a/docs/apis/base/env/env.md
+++ b/docs/apis/base/env/env.md
@@ -3,7 +3,7 @@ title: env
sidebar_label: env
---
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/env/envObj.html)
diff --git a/docs/apis/base/system/getAppAuthorizeSetting.md b/docs/apis/base/system/getAppAuthorizeSetting.md
index 959bd67b3f3e..983d82044bea 100644
--- a/docs/apis/base/system/getAppAuthorizeSetting.md
+++ b/docs/apis/base/system/getAppAuthorizeSetting.md
@@ -9,7 +9,7 @@ sidebar_label: getAppAuthorizeSetting
- 'denied' 表示请求授权被拒绝,无法再次请求授权;(此情况需要引导用户[打开系统设置](https://developers.weixin.qq.com/miniprogram/dev/api/base/system/wx.openAppAuthorizeSetting.html),在设置页中打开权限)
- 'non determined' 表示尚未请求授权,会在微信下一次调用系统相应权限时请求;(仅 iOS 会出现。此种情况下引导用户打开系统设置,不展示开关)
-支持情况:
+支持情况:
> H5: 暂未支持设置权限
diff --git a/docs/apis/base/system/getAppBaseInfo.md b/docs/apis/base/system/getAppBaseInfo.md
index f408f4308af1..43d921a92d09 100644
--- a/docs/apis/base/system/getAppBaseInfo.md
+++ b/docs/apis/base/system/getAppBaseInfo.md
@@ -5,7 +5,7 @@ sidebar_label: getAppBaseInfo
获取微信APP基础信息
-支持情况:
+支持情况:
> H5: 不支持 SDKVersion、host、version
diff --git a/docs/apis/base/system/getSystemInfo.md b/docs/apis/base/system/getSystemInfo.md
index 9f32cef2a79e..8280486b1d19 100644
--- a/docs/apis/base/system/getSystemInfo.md
+++ b/docs/apis/base/system/getSystemInfo.md
@@ -5,7 +5,7 @@ sidebar_label: getSystemInfo
获取系统信息,支持 `Promise` 化使用。
-支持情况:
+支持情况:
> 微信小程序: 小程序可以在微信和企业微信中调用此接口,但是在企业微信中调用此接口时,会额外返回一个 environment 字段(微信中不返回),如此字段值为 wxwork,则表示当前小程序运行在企业微信环境中。
>
diff --git a/docs/apis/base/system/getSystemInfoSync.md b/docs/apis/base/system/getSystemInfoSync.md
index 06250a223a5d..7fa5b114cea5 100644
--- a/docs/apis/base/system/getSystemInfoSync.md
+++ b/docs/apis/base/system/getSystemInfoSync.md
@@ -5,7 +5,7 @@ sidebar_label: getSystemInfoSync
[Taro.getSystemInfo](./getSystemInfo) 的同步版本
-支持情况:
+支持情况:
> 微信小程序: 小程序可以在微信和企业微信中调用此接口,但是在企业微信中调用此接口时,会额外返回一个 environment 字段(微信中不返回),如此字段值为 wxwork,则表示当前小程序运行在企业微信环境中。
>
diff --git a/docs/apis/base/system/getSystemSetting.md b/docs/apis/base/system/getSystemSetting.md
index 580f96e60a7b..2e3bf8d15637 100644
--- a/docs/apis/base/system/getSystemSetting.md
+++ b/docs/apis/base/system/getSystemSetting.md
@@ -5,7 +5,7 @@ sidebar_label: getSystemSetting
获取设备设置
-支持情况:
+支持情况:
> H5: 不支持 bluetoothEnabled、locationEnabled、wifiEnabled
diff --git a/docs/apis/base/system/getWindowInfo.md b/docs/apis/base/system/getWindowInfo.md
index 177bcbd81674..687714585e12 100644
--- a/docs/apis/base/system/getWindowInfo.md
+++ b/docs/apis/base/system/getWindowInfo.md
@@ -5,7 +5,7 @@ sidebar_label: getWindowInfo
获取窗口信息
-支持情况:
+支持情况:
> H5: 不支持 statusBarHeight、safeArea
diff --git a/docs/apis/base/weapp/app-event/offAppHide.md b/docs/apis/base/weapp/app-event/offAppHide.md
index 6e9f09c0adae..d26e2e0b08b8 100644
--- a/docs/apis/base/weapp/app-event/offAppHide.md
+++ b/docs/apis/base/weapp/app-event/offAppHide.md
@@ -5,7 +5,7 @@ sidebar_label: offAppHide
取消监听小程序切后台事件
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offAppHide.html)
diff --git a/docs/apis/base/weapp/app-event/offAppShow.md b/docs/apis/base/weapp/app-event/offAppShow.md
index 949f7e2fcb05..87d33827b8ae 100644
--- a/docs/apis/base/weapp/app-event/offAppShow.md
+++ b/docs/apis/base/weapp/app-event/offAppShow.md
@@ -5,7 +5,7 @@ sidebar_label: offAppShow
取消监听小程序切前台事件
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offAppShow.html)
diff --git a/docs/apis/base/weapp/app-event/offError.md b/docs/apis/base/weapp/app-event/offError.md
index 0b017cf58487..eac8fc51901d 100644
--- a/docs/apis/base/weapp/app-event/offError.md
+++ b/docs/apis/base/weapp/app-event/offError.md
@@ -5,7 +5,7 @@ sidebar_label: offError
取消监听音频播放错误事件
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/media/audio/InnerAudioContext.offError.html)
diff --git a/docs/apis/base/weapp/app-event/offPageNotFound.md b/docs/apis/base/weapp/app-event/offPageNotFound.md
index 88eebb301782..317c0ba9ecbb 100644
--- a/docs/apis/base/weapp/app-event/offPageNotFound.md
+++ b/docs/apis/base/weapp/app-event/offPageNotFound.md
@@ -5,7 +5,7 @@ sidebar_label: offPageNotFound
取消监听小程序要打开的页面不存在事件
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offPageNotFound.html)
diff --git a/docs/apis/base/weapp/app-event/offUnhandledRejection.md b/docs/apis/base/weapp/app-event/offUnhandledRejection.md
index 50795908e242..059bbe3af845 100644
--- a/docs/apis/base/weapp/app-event/offUnhandledRejection.md
+++ b/docs/apis/base/weapp/app-event/offUnhandledRejection.md
@@ -5,7 +5,7 @@ sidebar_label: offUnhandledRejection
取消监听未处理的 Promise 拒绝事件
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.offUnhandledRejection.html)
diff --git a/docs/apis/base/weapp/app-event/onAppHide.md b/docs/apis/base/weapp/app-event/onAppHide.md
index d260c2979c1c..d096e2b13325 100644
--- a/docs/apis/base/weapp/app-event/onAppHide.md
+++ b/docs/apis/base/weapp/app-event/onAppHide.md
@@ -5,7 +5,7 @@ sidebar_label: onAppHide
监听小程序切后台事件。该事件与 [`App.onHide`](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onhide) 的回调时机一致。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onAppHide.html)
diff --git a/docs/apis/base/weapp/app-event/onAppShow.md b/docs/apis/base/weapp/app-event/onAppShow.md
index 2a27b1ed1949..364141c9a230 100644
--- a/docs/apis/base/weapp/app-event/onAppShow.md
+++ b/docs/apis/base/weapp/app-event/onAppShow.md
@@ -20,7 +20,7 @@ sidebar_label: onAppShow
部分版本在无`referrerInfo`的时候会返回 `undefined`,建议使用 `options.referrerInfo && options.referrerInfo.appId` 进行判断。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onAppShow.html)
diff --git a/docs/apis/base/weapp/app-event/onError.md b/docs/apis/base/weapp/app-event/onError.md
index fa287c0a4355..cef630673553 100644
--- a/docs/apis/base/weapp/app-event/onError.md
+++ b/docs/apis/base/weapp/app-event/onError.md
@@ -5,7 +5,7 @@ sidebar_label: onError
监听小程序错误事件。如脚本错误或 API 调用报错等。该事件与 [`App.onError`](https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html#onerrorstring-error) 的回调时机与参数一致。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onError.html)
diff --git a/docs/apis/base/weapp/app-event/onPageNotFound.md b/docs/apis/base/weapp/app-event/onPageNotFound.md
index d457a1a04cef..c254f29da665 100644
--- a/docs/apis/base/weapp/app-event/onPageNotFound.md
+++ b/docs/apis/base/weapp/app-event/onPageNotFound.md
@@ -10,7 +10,7 @@ sidebar_label: onPageNotFound
- 若开发者没有调用 [Taro.onPageNotFound](/docs/apis/base/weapp/app-event/onPageNotFound) 绑定监听,也没有声明 `App.onPageNotFound`,当跳转页面不存在时,将推入微信客户端原生的页面不存在提示页面。
- 如果回调中又重定向到另一个不存在的页面,将推入微信客户端原生的页面不存在提示页面,并且不再第二次回调。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onPageNotFound.html)
diff --git a/docs/apis/base/weapp/app-event/onUnhandledRejection.md b/docs/apis/base/weapp/app-event/onUnhandledRejection.md
index 91b6a612e267..8a3bdbd0769c 100644
--- a/docs/apis/base/weapp/app-event/onUnhandledRejection.md
+++ b/docs/apis/base/weapp/app-event/onUnhandledRejection.md
@@ -8,7 +8,7 @@ sidebar_label: onUnhandledRejection
**注意**
- 所有的 unhandledRejection 都可以被这一监听捕获,但只有 Error 类型的才会在小程序后台触发报警。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/app-event/wx.onUnhandledRejection.html)
diff --git a/docs/apis/base/weapp/life-cycle/getLaunchOptionsSync.md b/docs/apis/base/weapp/life-cycle/getLaunchOptionsSync.md
index e08c196a19c4..cd0b39290bcd 100644
--- a/docs/apis/base/weapp/life-cycle/getLaunchOptionsSync.md
+++ b/docs/apis/base/weapp/life-cycle/getLaunchOptionsSync.md
@@ -8,7 +8,7 @@ sidebar_label: getLaunchOptionsSync
**注意**
部分版本在无`referrerInfo`的时候会返回 `undefined`,建议使用 `options.referrerInfo && options.referrerInfo.appId` 进行判断。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/base/app/life-cycle/wx.getLaunchOptionsSync.html)
diff --git a/docs/apis/canvas/CanvasContext.md b/docs/apis/canvas/CanvasContext.md
index f46b7188ae28..df0fcd88a010 100644
--- a/docs/apis/canvas/CanvasContext.md
+++ b/docs/apis/canvas/CanvasContext.md
@@ -39,7 +39,7 @@ canvas 组件的绘图上下文
- 红色: 起始弧度 (0)
- 蓝色: 终止弧度 (1.5 * Math.PI)
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.arc.html)
@@ -103,7 +103,7 @@ ctx.draw()
根据控制点和半径绘制圆弧路径。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.arcTo.html)
@@ -126,7 +126,7 @@ ctx.draw()
- 在最开始的时候相当于调用了一次 `beginPath`。
- 同一个路径内的多次 `setFillStyle`、`setStrokeStyle`、`setLineWidth`等设置,以最后一次设置为准。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.beginPath.html)
@@ -165,7 +165,7 @@ ctx.draw()
- 蓝色:两个控制点(20, 100) (200, 100)
- 绿色:终止点(200, 20)
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.bezierCurveTo.html)
@@ -225,7 +225,7 @@ ctx.draw()
清除画布上在该矩形区域内的内容
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.clearRect.html)
@@ -260,7 +260,7 @@ ctx.draw()
从原始画布中剪切任意形状和尺寸。一旦剪切了某个区域,则所有之后的绘图都会被限制在被剪切的区域内(不能访问画布上的其他区域)。可以在使用 `clip` 方法前通过使用 `save` 方法对当前画布区域进行保存,并在以后的任意时间通过`restore`方法对其进行恢复。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.clip.html)
@@ -290,7 +290,7 @@ Taro.downloadFile({
关闭一个路径。会连接起点和终点。如果关闭路径后没有调用 `fill` 或者 `stroke` 并开启了新的路径,那之前的路径将不会被渲染。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.closePath.html)
@@ -336,7 +336,7 @@ ctx.draw()
创建一个圆形的渐变颜色。起点在圆心,终点在圆环。返回的`CanvasGradient`对象需要使用 [CanvasGradient.addColorStop()](/docs/apis/canvas/CanvasGradient#addcolorstop) 来指定渐变点,至少要两个。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.createCircularGradient.html)
@@ -368,7 +368,7 @@ ctx.draw()
创建一个线性的渐变颜色。返回的`CanvasGradient`对象需要使用 [CanvasGradient.addColorStop()](/docs/apis/canvas/CanvasGradient#addcolorstop) 来指定渐变点,至少要两个。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.createLinearGradient.html)
@@ -401,7 +401,7 @@ ctx.draw()
对指定的图像创建模式的方法,可在指定的方向上重复元图像
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.createPattern.html)
@@ -418,7 +418,7 @@ ctx.draw()
将之前在绘图上下文中的描述(路径、变形、样式)画到 canvas 中。
-支持情况:
+支持情况:
> H5: 第二次调用 draw 前需要等待上一次 draw 调用结束后再调用,否则新的一次 draw 调用栈不会清空而导致结果异常。
@@ -468,7 +468,7 @@ ctx.draw(false, () => {
绘制图像到画布
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.drawImage.html)
@@ -548,7 +548,7 @@ Taro.chooseImage({
对当前路径中的内容进行填充。默认的填充色为黑色。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.fill.html)
@@ -598,7 +598,7 @@ ctx.draw()
填充一个矩形。用 [`setFillStyle`](/docs/apis/canvas/CanvasContext#setfillstyle) 设置矩形的填充色,如果没设置默认是黑色。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.fillRect.html)
@@ -626,7 +626,7 @@ ctx.draw()
在画布上绘制被填充的文本
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.fillText.html)
@@ -655,7 +655,7 @@ ctx.draw()
增加一个新点,然后创建一条从上次指定点到目标点的线。用 `stroke` 方法来画线条
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.lineTo.html)
@@ -683,7 +683,7 @@ ctx.draw()
测量文本尺寸信息。目前仅返回文本宽度(width)。同步接口。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.measureText.html)
@@ -699,7 +699,7 @@ ctx.draw()
把路径移动到画布中的指定点,不创建线条。用 `stroke` 方法来画线条
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.moveTo.html)
@@ -734,7 +734,7 @@ ctx.draw()
- 蓝色:控制点(20, 100)
- 绿色:终止点(200, 20)
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.quadraticCurveTo.html)
@@ -788,7 +788,7 @@ ctx.draw()
创建一个矩形路径。需要用 [`fill`](/docs/apis/canvas/CanvasContext#fill) 或者 [`stroke`](/docs/apis/canvas/CanvasContext#stroke) 方法将矩形真正的画到 `canvas` 中
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.rect.html)
@@ -817,7 +817,7 @@ ctx.draw()
重置绘图上下文状态
-支持情况:
+支持情况:
> [参考文档](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/reset)
@@ -829,7 +829,7 @@ ctx.draw()
恢复之前保存的绘图上下文
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.restore.html)
@@ -855,7 +855,7 @@ ctx.draw()
以原点为中心顺时针旋转当前坐标轴。多次调用旋转的角度会叠加。原点可以用 `translate` 方法修改。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.rotate.html)
@@ -883,7 +883,7 @@ ctx.draw()
保存绘图上下文。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.save.html)
@@ -909,7 +909,7 @@ ctx.draw()
在调用后,之后创建的路径其横纵坐标会被缩放。多次调用倍数会相乘。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.scale.html)
@@ -938,7 +938,7 @@ ctx.draw()
设置填充色。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setFillStyle.html)
@@ -963,7 +963,7 @@ ctx.draw()
设置字体的字号
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setFontSize.html)
@@ -994,7 +994,7 @@ ctx.draw()
设置全局画笔透明度。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setGlobalAlpha.html)
@@ -1024,7 +1024,7 @@ ctx.draw()
设置线条的端点样式
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setLineCap.html)
@@ -1069,7 +1069,7 @@ ctx.draw()
设置虚线样式。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setLineDash.html)
@@ -1098,7 +1098,7 @@ ctx.draw()
设置线条的交点样式
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setLineJoin.html)
@@ -1147,7 +1147,7 @@ ctx.draw()
设置线条的宽度
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setLineWidth.html)
@@ -1189,7 +1189,7 @@ ctx.draw()
设置最大斜接长度。斜接长度指的是在两条线交汇处内角和外角之间的距离。当 [CanvasContext.setLineJoin()](/docs/apis/canvas/CanvasContext#setlinejoin) 为 miter 时才有效。超过最大倾斜长度的,连接处将以 lineJoin 为 bevel 来显示。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setMiterLimit.html)
@@ -1244,7 +1244,7 @@ ctx.draw()
设定阴影样式。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setShadow.html)
@@ -1273,7 +1273,7 @@ ctx.draw()
设置描边颜色。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setStrokeStyle.html)
@@ -1298,7 +1298,7 @@ ctx.draw()
设置文字的对齐
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setTextAlign.html)
@@ -1334,7 +1334,7 @@ await ctx.draw(true)
设置文字的竖直对齐
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setTextBaseline.html)
@@ -1373,7 +1373,7 @@ await ctx.draw(true)
使用矩阵重新设置(覆盖)当前变换的方法
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.setTransform.html)
@@ -1394,7 +1394,7 @@ await ctx.draw(true)
画出当前路径的边框。默认颜色色为黑色。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.stroke.html)
@@ -1442,7 +1442,7 @@ ctx.draw()
画一个矩形(非填充)。 用 [`setStrokeStyle`](/docs/apis/canvas/CanvasContext#setstrokestyle) 设置矩形线条的颜色,如果没设置默认是黑色。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.strokeRect.html)
@@ -1470,7 +1470,7 @@ ctx.draw()
给定的 (x, y) 位置绘制文本描边的方法
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.strokeText.html)
@@ -1490,7 +1490,7 @@ ctx.draw()
使用矩阵多次叠加当前变换的方法
使用矩阵叠加当前变换。矩阵由方法的参数进行描述,可以缩放、旋转、移动和倾斜上下文
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.transform.html)
@@ -1511,7 +1511,7 @@ ctx.draw()
对当前坐标系的原点 (0, 0) 进行变换。默认的坐标系原点为页面左上角。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/CanvasContext.translate.html)
@@ -1595,48 +1595,48 @@ ctx.draw()
## API 支持度
-| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony |
-| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
-| CanvasContext.arc | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.arcTo | ✔️ | | ✔️ | | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.beginPath | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.bezierCurveTo | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.clearRect | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.clip | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.closePath | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.createCircularGradient | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.createLinearGradient | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.createPattern | ✔️ | | ✔️ | | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.draw | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(第二次调用 draw 前需要等待上一次 draw 调用结束后再调用,否则新的一次 draw 调用栈不会清空而导致结果异常。) | | |
-| CanvasContext.drawImage | ✔️ | | | | | | ✔️ | | |
-| CanvasContext.fill | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.fillRect | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.fillText | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.lineTo | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.measureText | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.moveTo | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.quadraticCurveTo | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.rect | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.reset | | | | | | | ✔️ | | |
-| CanvasContext.restore | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.rotate | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.save | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.scale | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setFillStyle | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setFontSize | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setGlobalAlpha | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setLineCap | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setLineDash | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setLineJoin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setLineWidth | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setMiterLimit | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setShadow | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setStrokeStyle | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setTextAlign | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setTextBaseline | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.setTransform | ✔️ | ✔️ | | ✔️ | | ✔️ | ✔️ | | |
-| CanvasContext.stroke | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.strokeRect | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.strokeText | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | |
-| CanvasContext.transform | ✔️ | | | ✔️ | | ✔️ | ✔️ | | |
-| CanvasContext.translate | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | |
+| API | 微信小程序 | 百度小程序 | 支付宝小程序 | 抖音小程序 | QQ 小程序 | 京东小程序 | H5 | React Native | Harmony | Harmony hybrid |
+| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
+| CanvasContext.arc | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.arcTo | ✔️ | | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.beginPath | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.bezierCurveTo | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.clearRect | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.clip | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.closePath | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.createCircularGradient | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.createLinearGradient | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.createPattern | ✔️ | | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.draw | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️(第二次调用 draw 前需要等待上一次 draw 调用结束后再调用,否则新的一次 draw 调用栈不会清空而导致结果异常。) | | | ✔️ |
+| CanvasContext.drawImage | ✔️ | | | | | | ✔️ | | | ✔️ |
+| CanvasContext.fill | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.fillRect | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.fillText | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.lineTo | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.measureText | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.moveTo | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.quadraticCurveTo | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.rect | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.reset | | | | | | | ✔️ | | | ✔️ |
+| CanvasContext.restore | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.rotate | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.save | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.scale | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setFillStyle | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setFontSize | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setGlobalAlpha | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setLineCap | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setLineDash | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setLineJoin | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setLineWidth | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setMiterLimit | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setShadow | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setStrokeStyle | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setTextAlign | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setTextBaseline | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.setTransform | ✔️ | ✔️ | | ✔️ | | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.stroke | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.strokeRect | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.strokeText | ✔️ | ✔️ | ✔️ | | ✔️ | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.transform | ✔️ | | | ✔️ | | ✔️ | ✔️ | | | ✔️ |
+| CanvasContext.translate | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | | ✔️ |
diff --git a/docs/apis/canvas/canvasGetImageData.md b/docs/apis/canvas/canvasGetImageData.md
index 3c6b3db1658f..885c643f5bd1 100644
--- a/docs/apis/canvas/canvasGetImageData.md
+++ b/docs/apis/canvas/canvasGetImageData.md
@@ -5,7 +5,7 @@ sidebar_label: canvasGetImageData
获取 canvas 区域隐含的像素数据。
-支持情况:
+支持情况:
> [参考文档](https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.canvasGetImageData.html)
diff --git a/docs/apis/canvas/canvasPutImageData.md b/docs/apis/canvas/canvasPutImageData.md
index 3ff4eac3dc00..b01b65ee23ab 100644
--- a/docs/apis/canvas/canvasPutImageData.md
+++ b/docs/apis/canvas/canvasPutImageData.md
@@ -5,7 +5,7 @@ sidebar_label: canvasPutImageData
将像素数据绘制到画布。在自定义组件下,第二个参数传入自定义组件实例 this,以操作组件内 `