test: 赞 踩 第一种方式 第二种方式 就可以打开自己的app 了 在APP中 Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。
第二种方式//在方法中let a = document.createElement('a');a.href = 'test://'a.click();就可以打开自己的app 了处理h5 打开APP 传的参数在APP中var args= plus.runtime.arguments; if(args){ // 处理a_h5反编译在线">uni-app编译的h5 打开 uni-app编译的app 小记_h5反编译在线
在APP中要做的事
h5 中
<a href="test://">test:<a><br/>
//在方法中
let a = document.createElement('a');
a.href = 'test://'
a.click();
处理h5 打开APP 传的参数
var args= plus.runtime.arguments;
if(args){
// 处理args参数,如直达到某新页面等
}