diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/ListJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/ListJsunit.test.ets index 5ec71c3384456c7d66e8345c6a00984c1c429669..1d4b6fb39829690a4275d31b791e8ad7b2a8cbd5 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/ListJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/ListJsunit.test.ets @@ -278,7 +278,7 @@ export default function ListJsunit() { expect(obj.$attrs.divider.color).assertEqual('#FF00000A'); expect(obj.$attrs.divider.startMargin).assertEqual('0.00vp'); expect(obj.$attrs.divider.endMargin).assertEqual('-10.00vp'); - expect(obj.$attrs.scrollBar).assertEqual('BarState.Off'); + expect(obj.$attrs.scrollBar).assertEqual('BarState.Auto'); await CommonFunc.sleep(1000); expect(obj.$attrs.cachedCount).assertEqual('1'); expect(obj.$attrs.edgeEffect).assertEqual('EdgeEffect.None'); diff --git a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex1.ets b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex1.ets index c497fe9d5329f0d089321a2e2bffdae6483961ef..0f77b494b727cccfe9c3a5026998b8a430809abe 100644 --- a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex1.ets +++ b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex1.ets @@ -31,6 +31,7 @@ struct List_ListInitialIndex1{ .key('List_ListInitialIndex1_'+ item) }, item => item) } + .cachedCount(0) .width(300) .height(500) .listDirection(Axis.Vertical) diff --git a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex2.ets b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex2.ets index 6d87c19897565be7aa65f62e4a8c5d0fec9be4fd..69426a796f75c197dc656f4feab931acb2de3a32 100644 --- a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex2.ets +++ b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex2.ets @@ -31,6 +31,7 @@ struct List_ListInitialIndex2{ .key('List_ListInitialIndex2_'+ item) }, item => item) } + .cachedCount(0) .width(300) .height(500) .listDirection(Axis.Vertical) diff --git a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex3.ets b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex3.ets index 33fbb8b3fc7dc6436b63966aa2153e67062114d9..ad4e93019862b71622dbf446b4dc56e2d8a119a9 100644 --- a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex3.ets +++ b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex3.ets @@ -31,6 +31,7 @@ struct List_ListInitialIndex3{ .key('List_ListInitialIndex3_'+ item) }, item => item) } + .cachedCount(0) .width(300) .height(500) .listDirection(Axis.Vertical) diff --git a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex4.ets b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex4.ets index 1573ca17698a329f283d5e759b51dba5a2a0e751..0daf3764df3f4f2a7e885bee283be80a31e8ca1d 100644 --- a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex4.ets +++ b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex4.ets @@ -31,6 +31,7 @@ struct List_ListInitialIndex4{ .key('List_ListInitialIndex4_'+ item) }, item => item) } + .cachedCount(0) .width(300) .height(500) .listDirection(Axis.Vertical) diff --git a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex5.ets b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex5.ets index 5fb01370c9cdc8e023fd4a09c559cf7cd9e84a1f..b16fda094334c95d49f0fd5dd3b3700cfafcb4d4 100644 --- a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex5.ets +++ b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex5.ets @@ -31,6 +31,7 @@ struct List_ListInitialIndex5{ .key('List_ListInitialIndex5_'+ item) }, item => item) } + .cachedCount(0) .width(300) .height(500) .listDirection(Axis.Vertical) diff --git a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex6.ets b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex6.ets index f60634f06f2826617164cb672399adec30b2adde..e971be666bd52dfbd2efa83dcef03d4a4bc7cecb 100644 --- a/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex6.ets +++ b/arkui/ace_ets_layout_test/ace_ets_layout_list_test/entry/src/main/ets/MainAbility/pages/List/List_initialIndex/List_ListInitialIndex6.ets @@ -31,6 +31,7 @@ struct List_ListInitialIndex6{ .key('List_ListInitialIndex6_'+ item) }, item => item) } + .cachedCount(0) .width(300) .height(500) .listDirection(Axis.Vertical)