@maxax/ui 1.1.28 → 1.1.29

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.
@@ -1 +1 @@
1
- {"version":3,"file":"FormItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/basic-form/components/FormItem.vue"],"names":[],"mappings":"AA4bA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAY,UAAU,EAAE,MAAM,cAAc,CAAA;AAOxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAIxD,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAiB,cAAc,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;8BAwBtD,MAAM,UAAU,GAAG,WAAW,eAAe,KAAK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAAtD,MAAM,UAAU,GAAG,WAAW,eAAe,KAAK,IAAI;;;;;;;;;;;;;;;yBAAtD,MAAM,UAAU,GAAG,WAAW,eAAe,KAAK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtB9F,wBAyaC"}
1
+ {"version":3,"file":"FormItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/basic-form/components/FormItem.vue"],"names":[],"mappings":"AA0bA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAY,UAAU,EAAE,MAAM,cAAc,CAAA;AAOxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAIxD,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAiB,cAAc,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;8BAwBtD,MAAM,UAAU,GAAG,WAAW,eAAe,KAAK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;8BAAtD,MAAM,UAAU,GAAG,WAAW,eAAe,KAAK,IAAI;;;;;;;;;;;;;;;yBAAtD,MAAM,UAAU,GAAG,WAAW,eAAe,KAAK,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAtB9F,wBAuaC"}
package/dist/index.cjs CHANGED
@@ -12777,7 +12777,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
12777
12777
  }
12778
12778
  propsData.codeField = field;
12779
12779
  propsData.formValues = vue.unref(getValues);
12780
- let bindValueValue = props.formModel[field];
12780
+ let bindValueValue = utils.isUndefined(props.formModel[field]) ? null : props.formModel[field];
12781
12781
  if (itemIsDateComponent(component)) {
12782
12782
  if (!utils.isArray(bindValueValue)) {
12783
12783
  bindValueValue = bindValueValue ? dayjs(bindValueValue).valueOf() : null;