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);

posted on 2019-12-03 14:33  万能的李大少  阅读(641)  评论(0编辑  收藏  举报