sbkwgh 5 年之前
父节点
当前提交
165d7b55c6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frontend/src/main.js

+ 1 - 1
frontend/src/main.js

@@ -79,7 +79,7 @@ Vue.use(linkExpander)
 
 Vue.use({
 	install (Vue) {
-		Vue.prototype.$socket = $socket;
+		Vue.prototype.$socket = io();
 	}
 })