|
|
|
@@ -1869,7 +1869,7 @@ export default { |
|
|
|
} else if (valueFirst.indexOf(' ') > -1) { |
|
|
|
this.thresholdErrorMsg = this.$t('scalar.noSpace'); |
|
|
|
isValidate = false; |
|
|
|
} else if (isNaN(valueFirst)) { |
|
|
|
} else if (isNaN(valueFirst) || valueFirst.indexOf('Infinity') > -1) { |
|
|
|
this.thresholdErrorMsg = this.$t('scalar.placeHolderNumber'); |
|
|
|
isValidate = false; |
|
|
|
} |
|
|
|
@@ -1889,6 +1889,9 @@ export default { |
|
|
|
} else if (isNaN(valueFirst) || isNaN(valueSec)) { |
|
|
|
this.thresholdErrorMsg = this.$t('scalar.placeHolderNumber'); |
|
|
|
isValidate = false; |
|
|
|
} else if (valueFirst.indexOf('Infinity') > -1 || valueSec.indexOf('Infinity') > -1) { |
|
|
|
this.thresholdErrorMsg = this.$t('scalar.placeHolderNumber'); |
|
|
|
isValidate = false; |
|
|
|
} else { |
|
|
|
if (this.thresholdRelational === this.$t('scalar.or')) { |
|
|
|
if ( |
|
|
|
|