diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-text.md b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-text.md index a0ff1cb1d43a280750a5cd54fb327d51cf2a3768..2786adbe06aa196f655a1847a3cf2c3b13335fd8 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-text.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-basic-components-text.md @@ -38,6 +38,7 @@ Text(content?: string) | decoration | {
type: TextDecorationType,
color?: Color
} | {
type: TextDecorationType.None,
color: Color.Black
} | 设置文本装饰线样式及其颜色。 | | baselineOffset | Length | - | 设置文本基线的偏移量。 | | textCase | TextCase | TextCase.Normal | 设置文本大小写。 | +| copyOption9+ | boolean\|CopyOption | false | 组件支持设置文本是否可复制粘贴。 | - TextAlign枚举说明 | 名称 | 描述 | @@ -62,11 +63,20 @@ Text(content?: string) | None | 不使用文本装饰线。 | - TextCase枚举说明 - | 名称 | 描述 | + + | 名称 | 描述 | + | --------- | -------------------- | + | Normal | 保持文本原有大小写。 | + | LowerCase | 文本采用全小写。 | + | UpperCase | 文本采用全大写。 | + +- CopyOption9+枚举说明 + + | 名称 | 描述 | | -------- | -------- | - | Normal | 保持文本原有大小写。 | - | LowerCase | 文本采用全小写。 | - | UpperCase | 文本采用全大写。 | + | InApp | 支持应用内复制粘贴。 | + | LocalDevice | 支持设备内复制粘贴。 | + | CrossDevice | 支持跨设备复制粘贴。 | > ![icon-note.gif](public_sys-resources/icon-note.gif) **说明:** > 不支持Text内同时存在文本内容和Span子组件。如果同时存在,只显示Span内的内容。