diff --git a/assets/Script/Manager.ts b/assets/Script/Manager.ts index 8925050..8df70a9 100644 --- a/assets/Script/Manager.ts +++ b/assets/Script/Manager.ts @@ -62,7 +62,7 @@ export default class Manager extends cc.Component { self.Birdge(method, value); }; } - let scheme: string = "http"; + let scheme: string = "jmka"; this.webview.setJavascriptInterfaceScheme(scheme); this.webview.setOnJSCallback((sender: any, url: any) => { let content: string = decodeURI(url.split(`${scheme}://?data=`)[1]);