[AI Generated]: fix(*): 移除废弃 WifiVersion 类型、修复 connectedWifi 事件绑定及升级 ppScale-plugin 至 0.0.25

This commit is contained in:
17792275749
2026-05-15 16:26:02 +08:00
parent 24d0ebec23
commit b6862c44d5
11 changed files with 25 additions and 25 deletions
+6 -6
View File
@@ -65,13 +65,13 @@ Page({
wx.setStorageSync('userInfo', result.user)
/* 上次连接设备不为空对象则直接进首页 */
const connectDeviceInfo = result.user?.connectDeviceInfo
if (connectDeviceInfo && connectDeviceInfo !== '{}') {
wx.setStorageSync('connectDeviceInfo', JSON.parse(connectDeviceInfo))
wx.reLaunch({ url: '/pages/home/home' })
} else {
// const connectDeviceInfo = result.user?.connectDeviceInfo
// if (connectDeviceInfo && connectDeviceInfo !== '{}') {
// wx.setStorageSync('connectDeviceInfo', JSON.parse(connectDeviceInfo))
// wx.reLaunch({ url: '/pages/home/home' })
// } else {
wx.reLaunch({ url: '/pages/connectedDevice/connectedDevice' })
}
// }
})
.catch(() => {
this.setData({ loading: false })