feat(equipment): 设备WIFI跳转与数据补传入口
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
2595080d9a
commit
431be11ecd
@@ -238,6 +238,22 @@ Page({
|
||||
})
|
||||
},
|
||||
|
||||
/** 跳转设备 WiFi 配网页 */
|
||||
onTapWifi() {
|
||||
wx.navigateTo({ url: '/pages/connectedWifi/connectedWifi' })
|
||||
},
|
||||
|
||||
/** 数据补传:读取设备端 userId 列表(调试用) */
|
||||
onTapDataRetransfer() {
|
||||
leFuService.fetchDeviceUserIds()
|
||||
.then((list) => {
|
||||
console.log('[数据补传] userId 列表:', list)
|
||||
})
|
||||
.catch(() => {
|
||||
wx.showToast({ title: '请先连接设备', icon: 'none' })
|
||||
})
|
||||
},
|
||||
|
||||
onTapAdd() {
|
||||
wx.navigateTo({ url: '/pages/connectedDevice/connectedDevice' })
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user