提交 1ec44b51 编写于 作者: Y ywx1211260

revise_file

Signed-off-by: Nywx1211260 <yupeng78@huawei.com>
上级 4c5a6e73
......@@ -148,7 +148,7 @@ struct Index {
case "emitOnProgressChange":{
this.isProgressFinish=true
await Utils.sleep(1000)
this.controller.loadUrl({url:"https://gitee.com/"})
this.controller.loadUrl({url:"resource://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:"resource://rawfile/overview.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.
先完成此消息的编辑!
想要评论请 注册