button open-type="launchApp" 不能返回app
发布于 6 年前 作者 leishen 10272 次浏览 来自 问答
open-type="launchApp" binderror="launchAppError" bindlaunchapp="launchAppSuccess">返回

launchAppError (e) {
	console.error(e.detail.errMsg)
},
launchAppSuccess (e) {
	console.log('success',e)
}

点击button 打印内容是成功的, 进入小程序的场景值是1069 ,实际并没有返回app 还停留在当前页面 toast: 操作成功

回到顶部