[AI Generated]: fix(*): 移除废弃的重连实例属性、OTA 超时改为 1 分钟

This commit is contained in:
17792275749
2026-04-08 11:13:18 +08:00
parent a38db163bd
commit 3b65d2fb0d
2 changed files with 2 additions and 6 deletions
-4
View File
@@ -147,10 +147,6 @@ App({
_callbacks: {} // 用于存储所有 globalData 属性的监听回调 _callbacks: {} // 用于存储所有 globalData 属性的监听回调
}, },
_reconnectCount: 0, // 已废弃,保留兼容,实际使用 globalData.ppScale.reconnect.count
_reconnectMax: 3, // 已废弃,保留兼容,实际使用 globalData.ppScale.reconnect.max
_reconnectTimer: null, // 已废弃,保留兼容,实际使用 globalData.ppScale.reconnect.timer
initPpScale() { initPpScale() {
this.globalData.ppScale.plugin = requirePlugin('ppScale-plugin'); this.globalData.ppScale.plugin = requirePlugin('ppScale-plugin');
}, },
@@ -1,7 +1,7 @@
const app = getApp(); const app = getApp();
// OTA 超时时间:3 分钟 // OTA 超时时间:1 分钟
const OTA_TIMEOUT_MS = 3 * 60 * 1000; const OTA_TIMEOUT_MS = 1 * 60 * 1000;
Component({ Component({
data: { data: {