diff --git a/package.json b/package.json index a43797c5..7bcbc62d 100644 --- a/package.json +++ b/package.json @@ -57,15 +57,13 @@ "element-plus": "^2.8.0", "exceljs": "^4.4.0", "lodash-es": "^4.17.21", - "net": "^1.0.2", "nprogress": "^0.2.0", "path-browserify": "^1.0.1", "path-to-regexp": "^6.2.2", "pinia": "^2.2.2", "qs": "^6.13.0", - "sockjs-client": "1.6.1", "sortablejs": "^1.15.2", - "stompjs": "^2.3.3", + "@stomp/stompjs": "^7.0.0", "vue": "^3.4.38", "vue-i18n": "9.9.1", "vue-router": "^4.4.3" @@ -81,7 +79,6 @@ "@types/nprogress": "^0.2.3", "@types/path-browserify": "^1.0.2", "@types/qs": "^6.9.15", - "@types/sockjs-client": "^1.5.4", "@types/sortablejs": "^1.15.8", "@types/stompjs": "^2.3.9", "@typescript-eslint/eslint-plugin": "^7.18.0", diff --git a/src/views/demo/websocket.vue b/src/views/demo/websocket.vue index 483a18ed..95e4b1d6 100644 --- a/src/views/demo/websocket.vue +++ b/src/views/demo/websocket.vue @@ -30,7 +30,6 @@ 断开 - 连接状态: @@ -40,19 +39,18 @@ - + - 发送广播 - + @@ -69,7 +67,7 @@ - +
@@ -105,25 +103,21 @@
-