feat: 更新生产线配置并优化WebSocket连接

- 移除未使用的生产线组件和配置
- 添加WebSocket URL配置项
- 将WebSocket连接改为使用uni.connectSocket
- 添加连接状态日志便于调试
This commit is contained in:
砂糖
2026-01-15 15:08:12 +08:00
parent dd94606e86
commit 166afcb959
5 changed files with 25 additions and 14 deletions

View File

@@ -170,6 +170,7 @@ export default {
this.socketClient = createMeasureSocket({
type: 'track_measure',
onOpen: () => {
console.log('初始化socket成功')
this.isConnected = true
},
onClose: () => {