Commit 411aa694 authored by 李晓兵's avatar 李晓兵

'禁用安卓物理返回键'

parent aedc34fd
......@@ -162,7 +162,7 @@ vum.$vumPlatform.ready(function () {
}, false) // false阻止默认事件
}*/
vum.$vumPlatform.registerBackButtonAction(function (e) {
/*vum.$vumPlatform.registerBackButtonAction(function (e) {
// let vm = this
let time
let path = router.currentRoute.path
......@@ -186,7 +186,7 @@ vum.$vumPlatform.registerBackButtonAction(function (e) {
}
e.preventDefault()
return false
}, 101)
}, 101)*/
/* eslint-disable no-new */
new Vue({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment