未验证 提交 7363b871 编写于 作者: O openharmony_ci 提交者: Gitee

!8001 【OpenHarmony 3.2.10.11】【3.2-release】【ARKUI子系统】【TOD】【rk3568】【必现】修改web-xts用例

Merge pull request !8001 from yupeng/OpenHarmony-3.2-Release
...@@ -294,7 +294,7 @@ struct Index { ...@@ -294,7 +294,7 @@ struct Index {
case "emitOnProgressChange":{ case "emitOnProgressChange":{
this.isProgressFinish=true this.isProgressFinish=true
await Utils.sleep(1000) await Utils.sleep(1000)
this.controller.loadUrl({url:"https://www.gitee.com"}) this.controller.loadUrl({url:"file:///data/storage/el1/bundle/phone/resources/rawfile/index.html"});
break; break;
} }
case "emitOnRefreshAccessedHistory":{ case "emitOnRefreshAccessedHistory":{
......
...@@ -45,6 +45,7 @@ struct Second { ...@@ -45,6 +45,7 @@ struct Second {
console.info("key==>"+this.str); console.info("key==>"+this.str);
switch(this.str){ switch(this.str){
case "emitOverviewModeAccessTrue":{ case "emitOverviewModeAccessTrue":{
this.controller.loadUrl({url:"file:///data/storage/el1/bundle/phone/resources/rawfile/index.html"});
this.controller.runJavaScript({script:"getViewResult()",callback:(res)=>{ this.controller.runJavaScript({script:"getViewResult()",callback:(res)=>{
console.info("getViewResult==>"+res); console.info("getViewResult==>"+res);
this.overviewScale=res; this.overviewScale=res;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册