设备列表,设备绑定,删除,修改设备名

This commit is contained in:
fengerli
2025-07-09 13:41:42 +08:00
parent e69ff064d5
commit 82fd1574c8
23 changed files with 6892 additions and 2974 deletions

View File

@ -106,8 +106,7 @@
title: '验证码已发送',
icon: 'none'
})
} catch (error) {
}
} catch (error) {}
},
// 勾选同意
toggleCheck() {
@ -136,7 +135,7 @@
return false
}
try {
uni.showLoading({
title: '登录中...'
})
@ -151,16 +150,14 @@
if (res.code == 200) {
uni.hideLoading()
uni.setStorageSync('token', res.data.access_token) // 缓存token
uni.setStorageSync('clientID', res.data.client_id) // 缓存token
uni.showToast({
title: '登录成功',
icon: 'success'
})
// 跳转到首页
setTimeout(() => {
uni.switchTab({
url: '/pages/common/index/index'
})
}, 800)
uni.switchTab({
url: '/pages/common/index/index'
})
} else {
uni.showToast({
title: res.msg,