mui关闭动画问题,重写mui.back(),方法里openwindow打开新页面关闭动画失效问题

因为某种原因需要重写返回方法,点击事件的返回方法里如果使用mui.back(),再重新安卓物理返回mui.back=function(){},就会陷入死循环,

解决方法,代替点mui.back()

var _self = plus.webview.currentWebview();
console.log(JSON.stringify(_self))
plus.webview.close(_self,"slide-out-right",200);

猜你喜欢

转载自www.cnblogs.com/lishuang2243/p/11976605.html