From c1a34d573db940fd5778dd87c241eb954f2f09e5 Mon Sep 17 00:00:00 2001 From: sunziyuan Date: Mon, 26 May 2025 20:37:44 +0800 Subject: [PATCH] fix item_doc_api17 Signed-off-by: sunziyuan Change-Id: I8d6e8256f19059c500ea460187413aa05ccf3d56 --- tmp.diff | 22 +++++++++++++++++++ .../arkui-ts/ts-basic-components-menu.md | 4 ++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 tmp.diff diff --git a/tmp.diff b/tmp.diff new file mode 100644 index 00000000000..6eb8fb8363f --- /dev/null +++ b/tmp.diff @@ -0,0 +1,22 @@ +diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md +index 6332f047ba850f5537f64334753f26e48cb44daf..12c5f80e545246166a1ea5d3a0f8b3da97407c9d 100644 +--- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md ++++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md +@@ -101,7 +101,7 @@ startMargin + endMargin 超过组件宽度后startMargin和endMargin会被置0 + + | 参数名 | 类型 | 必填 | 说明 | + |---------|--------------------------------------------------------|------------| -------------- | +-| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItem分割线样式。
-strokeWidth:分割线的线宽。
-color:分割线的颜色。
-startMargin:分割线与menuItem侧边起端的距离。
-endMargin:分割线与menuItem侧边结束端的距离。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | ++| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItem分割线样式。
-strokeWidth:分割线的线宽,不支持百分比。
-color:分割线的颜色。
-startMargin:分割线与menuItem侧边起端的距离, 不支持百分比。
-endMargin:分割线与menuItem侧边结束端的距离,不支持百分比。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | + + ### menuItemGroupDivider12+ + +@@ -117,7 +117,7 @@ menuItemGroupDivider(options: DividerStyleOptions | undefined) + + | 参数名 | 类型 | 必填 | 说明 | + |---------|--------------------------------------------------------|------------| -------------- | +-| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItemGroup顶部和底部分割线样式。
-strokeWidth:分割线的线宽,默认值是1px。
-color:分割线的颜色,默认值是 #33000000。
-startMargin:分割线与menuItemGroup侧边起端的距离,默认值是16。
-endMargin:分割线与menuItemGroup侧边结束端的距离,默认值是16。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | ++| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItemGroup顶部和底部分割线样式。
-strokeWidth:分割线的线宽,默认值是1px,不支持百分比。
-color:分割线的颜色,默认值是 #33000000。
-startMargin:分割线与menuItemGroup侧边起端的距离,默认值是16,不支持百分比。
-endMargin:分割线与menuItemGroup侧边结束端的距离,默认值是16,不支持百分比。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | + + ### subMenuExpandingMode12+ + diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md index 91bbd14ec40..58b0183e5ba 100644 --- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md +++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-basic-components-menu.md @@ -101,7 +101,7 @@ startMargin + endMargin 超过组件宽度后startMargin和endMargin会被置0 | 参数名 | 类型 | 必填 | 说明 | |---------|--------------------------------------------------------|------------| -------------- | -| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItem分割线样式。
-strokeWidth:分割线的线宽。
-color:分割线的颜色。
-startMargin:分割线与menuItem侧边起端的距离。
-endMargin:分割线与menuItem侧边结束端的距离。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | +| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItem分割线样式。
-strokeWidth:分割线的线宽,不支持百分比。
-color:分割线的颜色。
-startMargin:分割线与menuItem侧边起端的距离, 不支持百分比。
-endMargin:分割线与menuItem侧边结束端的距离,不支持百分比。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | ### menuItemGroupDivider12+ @@ -117,7 +117,7 @@ menuItemGroupDivider(options: DividerStyleOptions | undefined) | 参数名 | 类型 | 必填 | 说明 | |---------|--------------------------------------------------------|------------| -------------- | -| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItemGroup顶部和底部分割线样式。
-strokeWidth:分割线的线宽,默认值是1px。
-color:分割线的颜色,默认值是 #33000000。
-startMargin:分割线与menuItemGroup侧边起端的距离,默认值是16。
-endMargin:分割线与menuItemGroup侧边结束端的距离,默认值是16。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | +| options | [DividerStyleOptions](ts-types.md#dividerstyleoptions12) \|  undefined | 是 | 设置menuItemGroup顶部和底部分割线样式。
-strokeWidth:分割线的线宽,默认值是1px,不支持百分比。
-color:分割线的颜色,默认值是 #33000000。
-startMargin:分割线与menuItemGroup侧边起端的距离,默认值是16,不支持百分比。
-endMargin:分割线与menuItemGroup侧边结束端的距离,默认值是16,不支持百分比。
-mode:分割线的模式,默认值为FLOATING_ABOVE_MENU。 | ### subMenuExpandingMode12+ -- Gitee