From dcd7ae40b1e02e3d175444304a2e477bacb040f3 Mon Sep 17 00:00:00 2001 From: huangxiaoxiao Date: Wed, 13 Aug 2025 19:24:35 +0800 Subject: [PATCH] update DatePicker comment Signed-off-by: huangxiaoxiao --- api/@internal/component/ets/date_picker.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/@internal/component/ets/date_picker.d.ts b/api/@internal/component/ets/date_picker.d.ts index 6b1a7acc32..ef34f0a6c3 100644 --- a/api/@internal/component/ets/date_picker.d.ts +++ b/api/@internal/component/ets/date_picker.d.ts @@ -544,7 +544,7 @@ declare class DatePickerAttribute extends CommonMethod { * Sets the text style for the selected item. * * @param { PickerTextStyle } value - Font color, font size, and font weight of the selected item. - * @default {
color: '#ff007dff',
font: {
size: '20vp',
weight: FontWeight.Medium
}
} + * @default {
color: '#ff007dff',
font: {
size: '20fp',
weight: FontWeight.Medium
}
} * @returns { DatePickerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform @@ -559,7 +559,7 @@ declare class DatePickerAttribute extends CommonMethod { * this API supports the undefined type for the style parameter. * * @param { Optional } style - Font color, font size, and font weight of the selected item. - * @default {
color: '#ff007dff',
font: {
size: '20vp',
weight: FontWeight.Medium
}
} + * @default {
color: '#ff007dff',
font: {
size: '20fp',
weight: FontWeight.Medium
}
} * @returns { DatePickerAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform @@ -957,7 +957,7 @@ declare interface DatePickerDialogOptions extends DatePickerOptions { * Font color, font size, and font width of the selected item. * * @type { ?PickerTextStyle } - * @default { color: '#ff007dff', font: { size: '20vp', weight: FontWeight.Medium } } + * @default { color: '#ff007dff', font: { size: '20fp', weight: FontWeight.Medium } } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice -- Gitee