未验证 提交 95430a3d 编写于 作者: O openharmony_ci 提交者: Gitee

!5694 修改部分xts失败用例

Merge pull request !5694 from 张馨月/cherry-pick-1664198902
......@@ -46,8 +46,8 @@ struct slider {
.blockColor('#FFFF0000')
.selectedColor('#FF0000FF')
.trackColor('#FF808080')
.minLabel('10')
.maxLabel('10')
.minLabel('0')
.maxLabel('100')
.showTips(false)
.showSteps(false)
.onChange((value: number, mode: SliderChangeMode) => {
......
......@@ -67,7 +67,7 @@ export default function sliderJsunit() {
console.info("component obj is Slider: " + JSON.stringify(obj.$attrs.constructor));
expect(obj.$attrs.showTips).assertEqual("false")
expect(obj.$attrs.showSteps).assertEqual("false")
expect(obj.$attrs.constructor.value).assertEqual(10.000000.toFixed(6))
expect(obj.$attrs.constructor.value).assertEqual(40.000000.toFixed(6))
expect(obj.$attrs.constructor.min).assertEqual(0.000000.toFixed(6))
expect(obj.$attrs.constructor.max).assertEqual(100.000000.toFixed(6))
expect(obj.$attrs.constructor.step).assertEqual(1.000000.toFixed(6))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册