Jong_HR
Jong_HR
  • 发布:2017-07-13 12:06
  • 更新:2017-07-13 12:06
  • 阅读:1129

侧滑时无法监听返回界面成功

分类:MUI

var wv=plus.webview.currentWebview();
wv.addEventListener("popGesture", function(e){
if (e.type == 'end') {
if (e.result) {
console.log('返回');
}else{
console.log('取消');
}
}
}, false );

上面的方法,如果侧滑成功以后,e.type是空的,e.result也是空的,无法判断

2017-07-13 12:06 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复