fix: fix doc title

This commit is contained in:
openwayne 2021-05-18 11:46:18 +08:00 committed by Yanyan Wang
parent a490782db2
commit 6b89777103
2 changed files with 30 additions and 30 deletions

View File

@ -1,9 +1,9 @@
# g6-component-alipay
# g6 for alipay
G6 Component for alipay miniapp, it's part of G6Mobile
| 属性名 | 默认值 | 类型 | 是否必传 | 描述 |
| ------------ | ------ | -------- | -------- | --------------------------------------------------------------------------------------------------------- |
| --- | --- | --- | --- | --- |
| width | 100 | Number | 否 | canvas 的宽度,这个值是页面中组件的宽度 |
| height | 100 | Number | 否 | canvas 的高度,这个值是页面中组件的高度 |
| pixelRatio | 1 | Number | 否 | 设备像素比,这个字段很关键!!!不传递绘制的图非高清!!!字段来自 getSystemInfo/getSystemInfoSync |
@ -15,7 +15,7 @@ G6 Component for alipay miniapp, it's part of G6Mobile
onInit 函数的回调
| 参数 | 描述 |
| -------- | -------------------------------------------------------------------------------------------------------- |
| --- | --- |
| context | canvas 的 context由组件创建 |
| rect | 组件当前所在的位置 |
| canvas | native canvas 返回的 element |

View File

@ -1,9 +1,9 @@
# g6-component-wx
# g6 for wx
G6 Component for wechat miniapp, it's part of G6Mobile
| 属性名 | 默认值 | 类型 | 是否必传 | 描述 |
| ------------ | ------ | -------- | -------- | --------------------------------------------------------------------------------------------------------- |
| --- | --- | --- | --- | --- |
| width | 100 | Number | 否 | canvas 的宽度,这个值是页面中组件的宽度 |
| height | 100 | Number | 否 | canvas 的高度,这个值是页面中组件的高度 |
| pixelRatio | 1 | Number | 否 | 设备像素比,这个字段很关键!!!不传递绘制的图非高清!!!字段来自 getSystemInfo/getSystemInfoSync |
@ -15,7 +15,7 @@ G6 Component for wechat miniapp, it's part of G6Mobile
onInit 函数的回调
| 参数 | 描述 |
| -------- | -------------------------------------------------------------------------------------------------------- |
| --- | --- |
| context | canvas 的 context由组件创建 |
| rect | 组件当前所在的位置 |
| canvas | native canvas 返回的 element |