1、当前页面url:
console.log("当前页面URL:"+plus.webview.currentWebview().getURL());
2、仅支持竖屏显示
plus.screen.lockOrientation(“portrait-primary”);
1、当前页面url:
console.log("当前页面URL:"+plus.webview.currentWebview().getURL());
2、仅支持竖屏显示
plus.screen.lockOrientation(“portrait-primary”);