小程序端
<button type="primay" size="big" open-type="launchApp" app-parameter="test" binderror="launchAppError">返回商家</button>
APP端
plus.globalEvent.addEventListener('newintent', () => {
console.log('newintent')
console.log(plus.runtime)
console.log(plus.runtime.launcher)
console.log(plus.runtime.arguments)
})
1 个回复
Memories
老哥,这问题解决了吗?我也遇到这个问题了!