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

'禁用安卓物理返回键'

parent aedc34fd
...@@ -162,7 +162,7 @@ vum.$vumPlatform.ready(function () { ...@@ -162,7 +162,7 @@ vum.$vumPlatform.ready(function () {
}, false) // false阻止默认事件 }, false) // false阻止默认事件
}*/ }*/
vum.$vumPlatform.registerBackButtonAction(function (e) { /*vum.$vumPlatform.registerBackButtonAction(function (e) {
// let vm = this // let vm = this
let time let time
let path = router.currentRoute.path let path = router.currentRoute.path
...@@ -186,7 +186,7 @@ vum.$vumPlatform.registerBackButtonAction(function (e) { ...@@ -186,7 +186,7 @@ vum.$vumPlatform.registerBackButtonAction(function (e) {
} }
e.preventDefault() e.preventDefault()
return false return false
}, 101) }, 101)*/
/* eslint-disable no-new */ /* eslint-disable no-new */
new Vue({ 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