diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/web_api_9.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/web_api_9.ets index 658594bfc7442070ed574ec3e512c3c968e01e83..20f61cdaf04ec921ceca6d3f86aa94c6b4e05403 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/web_api_9.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/web_api_9.ets @@ -89,7 +89,7 @@ struct Index { return true; }).onWindowNew((event) => { console.log("onWindowNew..."); - var popController: WebController = new WebController(); + var popController: web_webview.WebviewController = new web_webview.WebviewController(); event.handler.setWebController(popController); this.isSuccess = true; Utils.emitEvent(this.isSuccess,1102) diff --git a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/webapi9.ets b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/webapi9.ets index 5193fab0b58ea3cda1607cd1a9b6f415fabb7e83..946b1e4a61441b85546f119333e1eb24dcd7f6ad 100644 --- a/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/webapi9.ets +++ b/arkui/ace_ets_component_apilack/entry/src/main/ets/MainAbility/pages/webapi9.ets @@ -100,7 +100,7 @@ struct Index { }). onWindowNew((event) => { console.log("onWindowNew..."); - var popController: WebController = new WebController(); + var popController: web_webview.WebviewController = new web_webview.WebviewController(); event.handler.setWebController(popController); setTimeout(()=>{ Utils.emitEvent(this.isVoid,801)