From a1d260220b1d73a97d48970eac3e64ba37d6148b Mon Sep 17 00:00:00 2001 From: earnK Date: Fri, 11 Jul 2025 16:14:16 +0800 Subject: [PATCH] =?UTF-8?q?maxlines=20options=E5=91=8A=E8=AD=A6=E5=A4=84?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: earnK Change-Id: I6f961882821deeb51a2618311c5f6a9771d289a8 --- api/@internal/component/ets/text_area.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/@internal/component/ets/text_area.d.ts b/api/@internal/component/ets/text_area.d.ts index 90fefc9c45..36419c03c0 100644 --- a/api/@internal/component/ets/text_area.d.ts +++ b/api/@internal/component/ets/text_area.d.ts @@ -1505,14 +1505,14 @@ declare class TextAreaAttribute extends CommonMethod { * Define max lines of the text area, behavior can be displayed as the scrolling capability. * * @param { number } lines - Max lines of the node - * @param { MaxLinesOptions } options - max lines of setting options. + * @param { MaxLinesOptions } [options] - max lines of setting options. * @returns { TextAreaAttribute } returns the instance of the TextAreaAttribute. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ - maxLines(lines: number, options: MaxLinesOptions): TextAreaAttribute; + maxLines(lines: number, options?: MaxLinesOptions): TextAreaAttribute; /** * Define min lines of the text area. -- Gitee