改为页面跳转
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* H5 调用 native的函数
|
||||
*/
|
||||
export interface WebScriptCallback {
|
||||
getCount(): number;
|
||||
getNativePageFileName(): string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -51,8 +51,8 @@ export class WebViewController implements WebScriptCallback, WebScriptFunction,
|
||||
return this.webviewController?.getUrl() ?? "";
|
||||
}
|
||||
|
||||
getCount(): number {
|
||||
return 0;
|
||||
getNativePageFileName(): string {
|
||||
return "";
|
||||
}
|
||||
|
||||
alert(message: string): void {
|
||||
|
Reference in New Issue
Block a user