diff --git a/site/docs/api/line_layer/style.en.md b/site/docs/api/line_layer/style.en.md index 18ff49f82a..607a67cc44 100644 --- a/site/docs/api/line_layer/style.en.md +++ b/site/docs/api/line_layer/style.en.md @@ -262,7 +262,7 @@ layer.style({ #### IDashArray -`dashArray`only at`ILineType`for`solid`will take effect. +`dashArray`only at`ILineType`for`dashed`will take effect. ```js // len1 solid line length len2 interval length diff --git a/site/docs/api/line_layer/style.zh.md b/site/docs/api/line_layer/style.zh.md index 858529995d..65d57d6a33 100644 --- a/site/docs/api/line_layer/style.zh.md +++ b/site/docs/api/line_layer/style.zh.md @@ -243,7 +243,7 @@ layer.style({ #### IDashArray -`dashArray` 只有在 `ILineType` 为 `solid` 的时候才会生效。 +`dashArray` 只有在 `ILineType` 为 `dashed` 的时候才会生效。 ```js // len1 实线长度 len2 间隔长度