chenrui  1 yıl önce
ebeveyn
işleme
b3ad401926
1 değiştirilmiş dosya ile 10 ekleme ve 10 silme
  1. 10 10
      src/views/systemSettings/warningEdit/index.vue

+ 10 - 10
src/views/systemSettings/warningEdit/index.vue

@@ -385,17 +385,17 @@ const tableForm = reactive({
 }); //报警预警场景
 const tableForms = reactive<any>({
   alarmStrategyID: null,
-  StrategyName: "",
-  calculationBasis: "",
-  warningDuration: "",
-  alarmDuration: "",
-  beginNode: "",
-  beginPosition: "",
-  endNode: "",
-  endPosition: "",
+  StrategyName: null,
+  calculationBasis: null,
+  warningDuration: null,
+  alarmDuration: null,
+  beginNode: null,
+  beginPosition: null,
+  endNode: null,
+  endPosition: null,
   alarmSceneId: route.query.alarmSceneId,
-  event: "",
-  percentage: "",
+  event: null,
+  percentage: null,
 }); //弹窗内容
 const tableOption = ref<any>([]); //下拉
 const tableOptionser = ref<any>([]); //下拉