提交 c63d68b4 编写于 作者: Z zhangxinyue

bug fix

Signed-off-by: Nzhangxinyue <zhangxinyue38@huawei.com>
上级 7e73d85e
...@@ -450,7 +450,7 @@ export default function swiperJsunit() { ...@@ -450,7 +450,7 @@ export default function swiperJsunit() {
try { try {
let eventData = { let eventData = {
data: { data: {
"duration": "nan" "duration": "0"
} }
} }
let indexEvent = { let indexEvent = {
...@@ -466,7 +466,7 @@ export default function swiperJsunit() { ...@@ -466,7 +466,7 @@ export default function swiperJsunit() {
let strJsonNew = getInspectorByKey('swiper'); let strJsonNew = getInspectorByKey('swiper');
let objNew = JSON.parse(strJsonNew); let objNew = JSON.parse(strJsonNew);
console.info("swiperTest_1900 component objNew is: " + JSON.stringify(objNew)); console.info("swiperTest_1900 component objNew is: " + JSON.stringify(objNew));
expect(objNew.$attrs.duration).assertEqual('nan'); expect(objNew.$attrs.duration).assertEqual('0.000000');
console.info('swiperTest_1900 END'); console.info('swiperTest_1900 END');
done(); done();
}); });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册