質問編集履歴
1
消し忘れてた
test
CHANGED
File without changes
|
test
CHANGED
@@ -54,32 +54,6 @@
|
|
54
54
|
|
55
55
|
```
|
56
56
|
|
57
|
-
```vue
|
58
|
-
|
59
|
-
created: function() {
|
60
|
-
|
61
|
-
var socket = new SockJS("/websocket/gs-guide-websocket");
|
62
|
-
|
63
|
-
var stompClient = Stomp.over(socket);
|
64
|
-
|
65
|
-
stompClient.connect({}, function (frame) {
|
66
|
-
|
67
|
-
console.log('Connected: ' + frame);
|
68
|
-
|
69
|
-
stompClient.subscribe('/topic/test', function (test) {
|
70
|
-
|
71
|
-
console.log(test);
|
72
|
-
|
73
|
-
});
|
74
|
-
|
75
|
-
});
|
76
|
-
|
77
|
-
```
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
57
|
```Java
|
84
58
|
|
85
59
|
@Configuration
|