From c6af92b1ee91afec56026898d7c47bc478cc9832 Mon Sep 17 00:00:00 2001 From: tomkl123 Date: Tue, 29 Aug 2023 20:03:39 +0800 Subject: [PATCH] =?UTF-8?q?Grid=20ScrollBar=E9=BB=98=E8=AE=A4=E5=80=BC?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: tomkl123 Change-Id: I5e777bc9084ade6765bef974de69cf5119d63976 --- .../OpenHarmony_4.0.10.2/changelogs-arkui.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.10.2/changelogs-arkui.md b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.10.2/changelogs-arkui.md index efb50a709f..cd814dac80 100644 --- a/zh-cn/release-notes/changelogs/OpenHarmony_4.0.10.2/changelogs-arkui.md +++ b/zh-cn/release-notes/changelogs/OpenHarmony_4.0.10.2/changelogs-arkui.md @@ -9,4 +9,15 @@ OpenHarmony_4.0.10.2及之后,开发者设置scrollBar(undefined), scrollBar(' **关键的接口变更** -List组件scrollBar接口设置undefined或非法值的处理方式由BarState.Off变更为BarState.Auto。 \ No newline at end of file +List组件scrollBar接口设置undefined或非法值的处理方式由BarState.Off变更为BarState.Auto。 + +## cl.arkui.2 Grid组件滚动条状态设置undefined或非法值处理变更 + +**变更影响** + +OpenHarmony_4.0.10.1之前,开发者设置scrollBar(undefined), scrollBar('aaa'), scrollBar(-1)会处理成BarState.Off状态。
+OpenHarmony_4.0.10.2及之后,开发者设置scrollBar(undefined), scrollBar('aaa'), scrollBar(-1)会处理成默认值BarState.Auto状态。 + +**关键的接口变更** + +Grid组件scrollBar接口设置undefined或非法值的处理方式由BarState.Off变更为BarState.Auto。 \ No newline at end of file -- GitLab