@ -1789,7 +1789,8 @@ onLoad((options) => {
// 保存定时器,用于页面卸载时清理
onUnmounted(() => {
// disconnect();
removeTcpListeners();
disconnect();
if (timer) {
console.log("卸载定时器");
clearInterval(timer);