fix: 后端接口对接,问题修复。
This commit is contained in:
@@ -480,7 +480,8 @@ function getDeviceList() {
|
||||
}
|
||||
// 设备列表
|
||||
function getDevicesList() {
|
||||
allDeviceList({ type: 1 }).then((res: any) => {
|
||||
const userId = Taro.getStorageSync("UserId");
|
||||
allDeviceList({ type: 1,rootUserId:userId }).then((res: any) => {
|
||||
if (res.code == 200) {
|
||||
res.data.forEach((r: any) => {
|
||||
r.open = true;
|
||||
|
||||
Reference in New Issue
Block a user