src/store/bedsideAuxiliaryScreen.ts
@@ -110,7 +110,7 @@ if (retryCount < maxRetryCount) { const delay = baseRetryDelay * Math.pow(2, retryCount); // 指数退避 retryCount++; console.log(`[SSE] 第${retryCount}次重连,延迟${delay}ms`); console.log(`[SSE] 第${retryCount}次重连,延迟${baseRetryDelay}ms`); ElMessage.warning( `链接服务失败, 第${retryCount}次重连,请耐心等待重连。。` ); @@ -148,7 +148,7 @@ clearTask(); } deviceData.value = formatDeviceData(dataBody); deviceData.value = formatDeviceData(deviceData.value, dataBody); } }; };