@vunk/form 1.1.59 → 1.1.60

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.
@@ -215,7 +215,9 @@ const _sfc_main = defineComponent({
215
215
  const readonly = useComputedReadonly(props2);
216
216
  const popupShow = ref(false);
217
217
  const currentTab = ref("date");
218
- const preInput = () => {
218
+ const preInput = (e) => {
219
+ const target = e.target;
220
+ target.blur();
219
221
  if (readonly.value)
220
222
  return;
221
223
  if (props2.modelValue && hasTime.value) {
@@ -63,7 +63,7 @@ declare const _default: import("vue").DefineComponent<{
63
63
  default: string;
64
64
  };
65
65
  }, {
66
- preInput: () => void;
66
+ preInput: (e: FocusEvent) => void;
67
67
  popupShow: import("vue").Ref<boolean>;
68
68
  formItemBindProps: import("vue").ComputedRef<{
69
69
  required: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "1.1.59",
3
+ "version": "1.1.60",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {