From b3f23fc4db1edd16a93ea90bc942c4b96126273b Mon Sep 17 00:00:00 2001 From: ArvinLovegood Date: Sun, 23 Feb 2025 22:02:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(frontend):=E6=B7=BB=E5=8A=A0=E5=BC=B9?= =?UTF-8?q?=E5=B9=95=E5=8A=9F=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96=E8=82=A1?= =?UTF-8?q?=E7=A5=A8=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 stock.vue 中集成 vue3-danmaku 弹幕组件 - 实现 WebSocket 连接以接收实时弹幕消息 - 添加发送弹幕功能 - 优化股票搜索和显示逻辑 - 更新 App.vue 中的导入信息 - 在 package.json 中添加 vue3-danmaku 依赖 --- frontend/src/components/stock.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/components/stock.vue b/frontend/src/components/stock.vue index 3ef7ce4..6e67c75 100644 --- a/frontend/src/components/stock.vue +++ b/frontend/src/components/stock.vue @@ -146,7 +146,6 @@ onMounted(() => { GetVersionInfo().then((res) => { icon.value = res.icon; }); - // 创建 WebSocket 连接 ws.value = new WebSocket('ws://8.134.249.145:16688/ws'); // 替换为你的 WebSocket 服务器地址