uniapp打包成app,app内点击链接在外部打开


plus.runtime.openURL('http://www.baidu.com');

image.png
打包app前要在manifest.json进行配置才行
image.png

"schemes": [  
     "test"  
 ],

参考文档:https://www.jianshu.com/p/173...

评论

暂无评论