提交 103d8e75 编写于 作者: W wind

fixed a7405475 from https://gitee.com/liangchenwind/xts_acts/pulls/9858

list XTS修改,scrollBar异常值走默认值AUTO,cacheCount默认值由0变为1
Signed-off-by: Nwind <lijianing7@huawei.com>
上级 b4801c46
......@@ -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');
......
......@@ -31,6 +31,7 @@ struct List_ListInitialIndex1{
.key('List_ListInitialIndex1_'+ item)
}, item => item)
}
.cachedCount(0)
.width(300)
.height(500)
.listDirection(Axis.Vertical)
......
......@@ -31,6 +31,7 @@ struct List_ListInitialIndex2{
.key('List_ListInitialIndex2_'+ item)
}, item => item)
}
.cachedCount(0)
.width(300)
.height(500)
.listDirection(Axis.Vertical)
......
......@@ -31,6 +31,7 @@ struct List_ListInitialIndex3{
.key('List_ListInitialIndex3_'+ item)
}, item => item)
}
.cachedCount(0)
.width(300)
.height(500)
.listDirection(Axis.Vertical)
......
......@@ -31,6 +31,7 @@ struct List_ListInitialIndex4{
.key('List_ListInitialIndex4_'+ item)
}, item => item)
}
.cachedCount(0)
.width(300)
.height(500)
.listDirection(Axis.Vertical)
......
......@@ -31,6 +31,7 @@ struct List_ListInitialIndex5{
.key('List_ListInitialIndex5_'+ item)
}, item => item)
}
.cachedCount(0)
.width(300)
.height(500)
.listDirection(Axis.Vertical)
......
......@@ -31,6 +31,7 @@ struct List_ListInitialIndex6{
.key('List_ListInitialIndex6_'+ item)
}, item => item)
}
.cachedCount(0)
.width(300)
.height(500)
.listDirection(Axis.Vertical)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册