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

!6742 适配接口更改

Merge pull request !6742 from 张馨月/master
...@@ -89,7 +89,7 @@ struct Index { ...@@ -89,7 +89,7 @@ struct Index {
return true; return true;
}).onWindowNew((event) => { }).onWindowNew((event) => {
console.log("onWindowNew..."); console.log("onWindowNew...");
var popController: WebController = new WebController(); var popController: web_webview.WebviewController = new web_webview.WebviewController();
event.handler.setWebController(popController); event.handler.setWebController(popController);
this.isSuccess = true; this.isSuccess = true;
Utils.emitEvent(this.isSuccess,1102) Utils.emitEvent(this.isSuccess,1102)
......
...@@ -100,7 +100,7 @@ struct Index { ...@@ -100,7 +100,7 @@ struct Index {
}). }).
onWindowNew((event) => { onWindowNew((event) => {
console.log("onWindowNew..."); console.log("onWindowNew...");
var popController: WebController = new WebController(); var popController: web_webview.WebviewController = new web_webview.WebviewController();
event.handler.setWebController(popController); event.handler.setWebController(popController);
setTimeout(()=>{ setTimeout(()=>{
Utils.emitEvent(this.isVoid,801) Utils.emitEvent(this.isVoid,801)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册