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.
- package/dist/bk-magic-vue.js +5 -6
- package/dist/bk-magic-vue.min.js +1 -1
- package/dist/bk-magic-vue.min.js.gz +0 -0
- package/dist/bk-magic-vue.min.js.map +1 -1
- package/lib/card.js +5 -6
- package/lib/input.js +5 -6
- package/lib/pagination.js +5 -6
- package/lib/slider.js +5 -6
- package/lib/table.js +5 -6
- package/lib/transfer.js +5 -6
- package/package.json +1 -1
package/dist/bk-magic-vue.js
CHANGED
|
@@ -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.
|
|
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') {
|