唐润平:传感器添加功能

This commit is contained in:
trp
2023-12-15 17:02:23 +08:00
parent c91d93b24b
commit dcc92b3c77
4 changed files with 86 additions and 27 deletions

View File

@@ -155,8 +155,10 @@ function rClickCallback(demo) {
}
// 添加设备
function handleAddEqu(e) {
console.log("添加的设备属性", e);
function handleAddEqu(formInfo) {
//表单信息
//这里利用处理请求
demo.addEquipment(targetP, formInfo);
}
// 删除设备