diff --git a/src/components/CustomSelectWithAllChecking.vue/index.vue b/src/components/CustomSelectWithAllChecking.vue/index.vue index a90170e..adb0cca 100644 --- a/src/components/CustomSelectWithAllChecking.vue/index.vue +++ b/src/components/CustomSelectWithAllChecking.vue/index.vue @@ -18,7 +18,6 @@ export default { props: { value: { type: [Array, Number], - default: () => [], }, options: { type: Array, diff --git a/src/views/abnormalAlarm/analysisMonitor/alarmRules/index.vue b/src/views/abnormalAlarm/analysisMonitor/alarmRules/index.vue index 9f025e9..087f29d 100644 --- a/src/views/abnormalAlarm/analysisMonitor/alarmRules/index.vue +++ b/src/views/abnormalAlarm/analysisMonitor/alarmRules/index.vue @@ -214,7 +214,7 @@ prop="station" :rules="[{ required: true, message: 'Please select station!' }]" > - - + --> + + - + 1 ? colTime : colTime[0]) : null, xe133MDC: xe133MDC ? (xe133MDC.length > 1 ? xe133MDC : xe133MDC[0]) : null, - identifyNuclides: identifyNuclidesChecked, + identifyNuclides: identifyNuclidesChecked || null, station: stationChecked, nuclide: nuclidesChecked, @@ -704,7 +711,7 @@ export default { conditions: condition, stations: station.join(','), nuclides: nuclide.join(','), - identifyNuclides: identifyNuclides.join(','), + identifyNuclides: identifyNuclides && identifyNuclides.length ? identifyNuclides.join(',') : null, ...qcFlags, } if (this.isAdd) {