feat: 更新生产线配置并优化WebSocket连接
- 移除未使用的生产线组件和配置 - 添加WebSocket URL配置项 - 将WebSocket连接改为使用uni.connectSocket - 添加连接状态日志便于调试
This commit is contained in:
@@ -170,6 +170,7 @@ export default {
|
||||
this.socketClient = createMeasureSocket({
|
||||
type: 'track_measure',
|
||||
onOpen: () => {
|
||||
console.log('初始化socket成功')
|
||||
this.isConnected = true
|
||||
},
|
||||
onClose: () => {
|
||||
|
||||
Reference in New Issue
Block a user