yuanrf 2 ヶ月 前
コミット
a81cf1cd1c
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  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)
 })