mui 基本知识

来源:互联网 发布:java创建对象实例 编辑:程序博客网 时间:2024/06/06 11:37

1、当前页面url:

 console.log("当前页面URL:"+plus.webview.currentWebview().getURL());

2、仅支持竖屏显示
plus.screen.lockOrientation(“portrait-primary”);

原创粉丝点击