From c834862c2619abf1af22c60a9a1a22e5c59cea93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=91=AB?= Date: Tue, 27 Jun 2023 14:14:59 +0800 Subject: [PATCH] =?UTF-8?q?Font=E6=96=87=E6=9C=AC=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=90=84=E5=B1=9E=E6=80=A7=E9=BB=98=E8=AE=A4=E5=80=BC=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 王鑫 --- zh-cn/application-dev/reference/arkui-ts/ts-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-types.md b/zh-cn/application-dev/reference/arkui-ts/ts-types.md index 53227c0c52..54b73973b2 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-types.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-types.md @@ -155,7 +155,7 @@ | 名称 | 类型 | 必填 | 说明 | | ------ | ---------------------------------------- | ---- | ---------------------------------------- | | size | [Length](#length) | 否 | 设置文本尺寸,Length为number类型时,使用fp单位。不支持设置百分比字符串。
默认值:16.0 | -| weight | [FontWeight](ts-appendix-enums.md#fontweight) \| number \| string | 否 | 设置文本的字体粗细,number类型取值[100, 900],取值间隔为100,默认为400,取值越大,字体越粗。FontWeight类型默认值为FontWeight.Normal | +| weight | [FontWeight](ts-appendix-enums.md#fontweight) \| number \| string | 否 | 设置文本的字体粗细,number类型取值[100, 900],取值间隔为100,取值越大,字体越粗。
默认值:400 \| FontWeight.Normal | | family | string \| [Resource](#resource) | 否 | 设置文本的字体列表。使用多个字体,使用','进行分割,优先级按顺序生效。例如:'Arial, HarmonyOS Sans'。当前只支持'HarmonyOS Sans'字体。 | | style | [FontStyle](ts-appendix-enums.md#fontstyle) | 否 | 设置文本的字体样式。
默认值:FontStyle.Normal | -- GitLab