提交 6d135bd6 编写于 作者: Z zhangxinyue

bug fix

Signed-off-by: Nzhangxinyue <zhangxinyue38@huawei.com>
上级 06cba0fe
......@@ -153,9 +153,9 @@ export default function commonJsunit() {
let globalPositionY = globalThis.globalPositionY;
console.log("globalPositionX : "+globalPositionX)
expect(globalPositionX).assertEqual(16.333333333333332)
expect(globalPositionX).assertEqual(16.5)
console.log("globalPositionY : "+globalPositionY)
expect(globalPositionY).assertEqual(169.33333333333334)
expect(globalPositionY).assertEqual(180)
console.info('commonTest004 END');
done();
});
......
......@@ -39,7 +39,7 @@ export default function ProgressPageJsunit() {
await sleep(1);
let pages = router.getState();
console.info("get ProgressPage state success " + JSON.stringify(pages));
if (!("EnumsWeek" == pages.name)) {
if (!("ProgressPage" == pages.name)) {
console.info("get ProgressPage state success " + JSON.stringify(pages.name));
let result = await router.push(options)
console.info("push ProgressPage page success " + JSON.stringify(result));
......
......@@ -39,7 +39,7 @@ export default function SideBarPageJsunit() {
await sleep(1);
let pages = router.getState();
console.info("get SideBarPage state success " + JSON.stringify(pages));
if (!("EnumsWeek" == pages.name)) {
if (!("SideBarPage" == pages.name)) {
console.info("get SideBarPage state success " + JSON.stringify(pages.name));
let result = await router.push(options)
console.info("push SideBarPage page success " + JSON.stringify(result));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册