bk-magic-vue 2.5.3-beta.12 → 2.5.3-beta.13

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.
@@ -29543,13 +29543,12 @@
29543
29543
  handlerBlur: function handlerBlur(event) {
29544
29544
  var value = event.target.value;
29545
29545
  if (/^number$/i.test(this.type) && value !== '') {
29546
+ if (isNaN(value)) {
29547
+ value = this.min === minSafeInteger$1 ? 0 : this.min;
29548
+ }
29546
29549
  if (value !== '' && /^-?\d*(.\d*)?$/i.test(value)) {
29547
- if (value === '-') {
29548
- value = this.min === minSafeInteger$1 ? 0 : this.min;
29549
- } else {
29550
- if (value > this.max || value < this.min) {
29551
- value = this.getCurrentNumberValue();
29552
- }
29550
+ if (value > this.max || value < this.min) {
29551
+ value = this.getCurrentNumberValue();
29553
29552
  }
29554
29553
  }
29555
29554
  if (typeof this.precision !== 'undefined') {