-
-
连接
-
断开
-
-
-
-
发送消息
-
-
-
返回内容
-
-
+
+
+
+
+
+
+
+ 连接
+ 断开
+
+
+
+
+
+
+
+
+
+ 发送消息
+
+
+
+
+
+
+
+
@@ -20,7 +34,7 @@ export default {
name: 'WebSocketExample',
data() {
return {
- url: "ws://localhost:8080/websocket/message",
+ url: "ws://localhost:3334/websocket/message",
message: "",
text_content: "",
ws: null,