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

!7912 【OpenHarmony 4.0.5.3】【master】【ARKUI子系统】【TOD】【rk3568】【必现】修改web-xts用例

Merge pull request !7912 from yupeng/master
...@@ -148,7 +148,7 @@ struct Index { ...@@ -148,7 +148,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://gitee.com/"}) this.controller.loadUrl({url:"resource://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:"resource://rawfile/overview.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.
先完成此消息的编辑!
想要评论请 注册