提交 f48b4b3a 编写于 作者: Y ywx1211260

revise_file

Signed-off-by: Nywx1211260 <yupeng78@huawei.com>
上级 3348982d
......@@ -294,7 +294,7 @@ struct Index {
case "emitOnProgressChange":{
this.isProgressFinish=true
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;
}
case "emitOnRefreshAccessedHistory":{
......
......@@ -45,6 +45,7 @@ struct Second {
console.info("key==>"+this.str);
switch(this.str){
case "emitOverviewModeAccessTrue":{
this.controller.loadUrl({url:"file:///data/storage/el1/bundle/phone/resources/rawfile/index.html"});
this.controller.runJavaScript({script:"getViewResult()",callback:(res)=>{
console.info("getViewResult==>"+res);
this.overviewScale=res;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册