|
@@ -40,11 +40,11 @@ Vue.use(common);//全局
|
|
|
import plugin from './plugin'//全局
|
|
|
Vue.use(plugin);//全局
|
|
|
|
|
|
-import websocket from './store/websocket.js'
|
|
|
+import websocket from './store/websocket.js'
|
|
|
Vue.prototype.$websocket = websocket//websocket
|
|
|
|
|
|
//禁用浏览器前进后腿
|
|
|
-window.addEventListener('popstate', function() {
|
|
|
+window.addEventListener('popstate', function () {
|
|
|
history.pushState(null, null, document.URL)
|
|
|
})
|
|
|
|