|
@@ -121,7 +121,7 @@ async function onClick(node) {
|
|
} else {
|
|
} else {
|
|
types = ''
|
|
types = ''
|
|
}
|
|
}
|
|
- let res = await getDevice({ devicetype: types })
|
|
|
|
|
|
+ let res = await getDevice({ ids: types })
|
|
if (res.msgTxt.length != 0) {
|
|
if (res.msgTxt.length != 0) {
|
|
res.msgTxt[0].datalist.forEach(el => {
|
|
res.msgTxt[0].datalist.forEach(el => {
|
|
el.pid = node.id
|
|
el.pid = node.id
|