Prechádzať zdrojové kódy

场景联动中,选择功能调用的时候,需要把定时这个表单去除掉

yanglzh 7 mesiacov pred
rodič
commit
77053decdd

+ 3 - 3
src/views/iot/scene/manage/component/sceneItem.vue

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