[AI Generated]: feat(Comp): 优化WiFi获取状态展示、下发失败自动重试、同步前清除设备用户数据

This commit is contained in:
17792275749
2026-04-13 13:54:23 +08:00
parent 4fc829a81f
commit f8957b0852
5 changed files with 23 additions and 15 deletions
+2 -2
View File
@@ -170,14 +170,14 @@ Page({
setTimeout(() => {
const comp = this.selectComponent('#configureDevice3');
if (comp) comp.initWifi();
}, 100);
}, 1000);
}
// 进入步骤3(OTA升级)时,等待组件渲染完成后由父页面显式触发升级
if (newIndex === 3) {
setTimeout(() => {
const comp = this.selectComponent('#configureDevice4');
if (comp) comp.startOtaUpgrade();
}, 100);
}, 1000);
}
},