Bladeren bron

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

yanglzh 7 maanden geleden
bovenliggende
commit
77053decdd
1 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 3 3
      src/views/iot/scene/manage/component/sceneItem.vue

+ 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) => {