bkui-vue 0.0.1-beta.93 → 0.0.1-beta.94
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/index.cjs.js +6 -6
- package/dist/index.esm.js +4 -3
- package/dist/index.umd.js +6 -6
- package/dist/style.css +1 -1
- package/lib/input/index.js +1 -1
- package/lib/loading/loading.css +0 -1
- package/lib/loading/loading.less +0 -1
- package/lib/loading/loading.variable.css +0 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
@@ -9078,9 +9078,10 @@ var Component$w = defineComponent({
|
|
9078
9078
|
var _a2;
|
9079
9079
|
isFocused.value = false;
|
9080
9080
|
ctx.emit(EVENTS$2.BLUR, e);
|
9081
|
-
if (isNumberInput.value && e.target.value > props.max) {
|
9082
|
-
|
9083
|
-
ctx.emit(EVENTS$2.
|
9081
|
+
if (isNumberInput.value && (e.target.value > props.max || e.target.value < props.min)) {
|
9082
|
+
const val = e.target.value > props.max ? props.max : props.min;
|
9083
|
+
ctx.emit(EVENTS$2.UPDATE, val);
|
9084
|
+
ctx.emit(EVENTS$2.CHANGE, val);
|
9084
9085
|
}
|
9085
9086
|
(_a2 = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a2.call(formItem, "blur");
|
9086
9087
|
}
|