n20-common-lib 2.9.98 → 2.9.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.9.98",
3
+ "version": "2.9.99",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -172,7 +172,7 @@ export default {
172
172
  }
173
173
  this.valueStr = N.addThousands(val)
174
174
  } else {
175
- if (val !== undefined || val !== null || val !== '') {
175
+ if (val !== undefined && val !== null && val !== '') {
176
176
  if (
177
177
  new Decimal(val).cmp(new Decimal(this.max)) === 0 ||
178
178
  new Decimal(this.min).cmp(new Decimal(val)) === 0