bk-magic-vue 2.5.3-beta.4 → 2.5.3-beta.5
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 +2 -2
- 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 +2 -2
- package/lib/input.js +2 -2
- package/lib/pagination.js +2 -2
- package/lib/slider.js +2 -2
- package/lib/table.js +2 -2
- package/lib/transfer.js +2 -2
- package/package.json +1 -1
package/dist/bk-magic-vue.js
CHANGED
|
@@ -29474,7 +29474,7 @@
|
|
|
29474
29474
|
var target = event.currentTarget;
|
|
29475
29475
|
var value = target.value;
|
|
29476
29476
|
if (this.inputType === 'number') {
|
|
29477
|
-
if (this.validKeyCodeList.indexOf(keyCode) < 0) {
|
|
29477
|
+
if (this.validKeyCodeList.indexOf(keyCode) < 0 || event.shiftKey) {
|
|
29478
29478
|
event.stopPropagation();
|
|
29479
29479
|
event.preventDefault();
|
|
29480
29480
|
return false;
|
|
@@ -29549,7 +29549,7 @@
|
|
|
29549
29549
|
}
|
|
29550
29550
|
}
|
|
29551
29551
|
if (typeof this.precision !== 'undefined') {
|
|
29552
|
-
value = this.toPrecision(
|
|
29552
|
+
value = this.toPrecision(_parseFloat$2(value), this.precision, true);
|
|
29553
29553
|
} else {
|
|
29554
29554
|
value = Number(value);
|
|
29555
29555
|
}
|