|
@@ -150,15 +150,15 @@ const getDeviceList = (productKey: any) => {
|
|
})
|
|
})
|
|
}
|
|
}
|
|
const getSelectcolumns = (index: number, val: string) => {
|
|
const getSelectcolumns = (index: number, val: string) => {
|
|
- EditPen(index);
|
|
|
|
- getcolumns(index, val);
|
|
|
|
// 重置当前项的 condition 值
|
|
// 重置当前项的 condition 值
|
|
props.sceneList[index].condition = [[{
|
|
props.sceneList[index].condition = [[{
|
|
'parameter': '',
|
|
'parameter': '',
|
|
'operator': '',
|
|
'operator': '',
|
|
'value': ''
|
|
'value': ''
|
|
}]];
|
|
}]];
|
|
-
|
|
|
|
|
|
+ props.sceneList[index].timer = ""
|
|
|
|
+ EditPen(index);
|
|
|
|
+ getcolumns(index, val);
|
|
}
|
|
}
|
|
//获取类型数据
|
|
//获取类型数据
|
|
const getAction = (val: string) => {
|
|
const getAction = (val: string) => {
|