监听侧滑事件返回
onBackPress(e){
console.log("监听返回按钮事件",e);
if(e.from=="backbutton"){
return true;
}
},
禁止ios侧滑返回
{
"path": "pages/index/lucksuc",
"style": {
"navigationBarTitleText": "开盒结果",
"navigationStyle": "custom",
"disableSwipeBack": true // 禁止IOS侧滑事件
}
},