未验证 提交 7af9f486 编写于 作者: O openharmony_ci 提交者: Gitee

!3168 VideoPlayerTest 页面切换函数错误

Merge pull request !3168 from NOBUGGERS/r00514670_0512
...@@ -20,9 +20,9 @@ import * as mediaTestBase from './MediaTestBase.js'; ...@@ -20,9 +20,9 @@ import * as mediaTestBase from './MediaTestBase.js';
export async function toNewPage(pagePath1, pagePath2, page) { export async function toNewPage(pagePath1, pagePath2, page) {
let path = ''; let path = '';
if (page == 0) { if (page == 0) {
path = 'pages/surfaceTest/surfaceTest'; path = pagePath1;
} else { } else {
path = 'pages/surfaceTest2/surfaceTest2'; path = pagePath2;
} }
let options = { let options = {
uri: path, uri: path,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册