diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components-path.md b/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components-path.md index 91900e5f348dfa840dceb2b7d4e78be9afc1368d..0e9d0e33f4c34b37454ca8b8263298b0856984f0 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components-path.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components-path.md @@ -22,7 +22,7 @@ Path(value?: { width?: number | string, height?: number | string, commands?: str | -------- | ---------------- | ---- | ---- | ----------- | | width | number \| string | 否 | 0 | 路径所在矩形的宽度。 | | height | number \| string | 否 | 0 | 路径所在矩形的高度。 | - | commands | string | 否 | ‘ ’ | 路径绘制的命令字符串。 | + | commands | string | 否 | '' | 路径绘制的命令字符串。 | ## 属性 @@ -31,7 +31,7 @@ Path(value?: { width?: number | string, height?: number | string, commands?: str | -------- | ---------------- | ---- | ---- | ----------- | | width | number \| string | 0 | 否 | 路径所在矩形的宽度。 | | height | number \| string | 0 | 否 | 路径所在矩形的高度。 | -| commands | string | '' | 是 | 路径绘制的命令字符串。 | +| commands | string | '' | 否 | 路径绘制的命令字符串。 | 支持的绘制命令如下: