diff --git a/app.js b/app.js index 9c2bfa6..4315c04 100644 --- a/app.js +++ b/app.js @@ -147,10 +147,6 @@ App({ _callbacks: {} // 用于存储所有 globalData 属性的监听回调 }, - _reconnectCount: 0, // 已废弃,保留兼容,实际使用 globalData.ppScale.reconnect.count - _reconnectMax: 3, // 已废弃,保留兼容,实际使用 globalData.ppScale.reconnect.max - _reconnectTimer: null, // 已废弃,保留兼容,实际使用 globalData.ppScale.reconnect.timer - initPpScale() { this.globalData.ppScale.plugin = requirePlugin('ppScale-plugin'); }, diff --git a/components/configureDevice_4/configureDevice_4.js b/components/configureDevice_4/configureDevice_4.js index 86c6309..d978f59 100644 --- a/components/configureDevice_4/configureDevice_4.js +++ b/components/configureDevice_4/configureDevice_4.js @@ -1,7 +1,7 @@ const app = getApp(); -// OTA 超时时间:3 分钟 -const OTA_TIMEOUT_MS = 3 * 60 * 1000; +// OTA 超时时间:1 分钟 +const OTA_TIMEOUT_MS = 1 * 60 * 1000; Component({ data: {