|
@@ -85,6 +85,7 @@ export default {
|
85
|
85
|
if (window.history && window.history.pushState) {
|
86
|
86
|
this.ExitAppStatus = false
|
87
|
87
|
window.history.pushState(null, null, document.URL)
|
|
88
|
+ window.history.pushState(null, null, document.URL)
|
88
|
89
|
window.addEventListener('popstate', this.RouterBack, false)
|
89
|
90
|
}
|
90
|
91
|
this.$nextTick(() => {
|
|
@@ -100,7 +101,7 @@ export default {
|
100
|
101
|
]),
|
101
|
102
|
RouterBack () {
|
102
|
103
|
if (this.ExitAppStatus) {
|
103
|
|
-
|
|
104
|
+ console.log(123)
|
104
|
105
|
} else {
|
105
|
106
|
this.Toast('再按一次退出应用')
|
106
|
107
|
this.ExitAppStatus = true
|