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
|
@@ -172,7 +172,7 @@ export default {
|
|
|
172
172
|
}
|
|
173
173
|
this.valueStr = N.addThousands(val)
|
|
174
174
|
} else {
|
|
175
|
-
if (val !== undefined
|
|
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
|