yuanrf 2 months ago
parent
commit
a81cf1cd1c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main.js

+ 2 - 2
src/main.js

@@ -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)
 })