@tmagic/form 1.1.2 → 1.1.4

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.
@@ -3090,7 +3090,7 @@
3090
3090
  if (!props.model)
3091
3091
  return;
3092
3092
  const v = props.model[props.name];
3093
- if (Array.isArray(v) ? v.length : v) {
3093
+ if (Array.isArray(v) ? v.length : typeof v !== "undefined") {
3094
3094
  getInitOption().then((data) => {
3095
3095
  options.value = data;
3096
3096
  });
@@ -3729,7 +3729,7 @@
3729
3729
  vue.createVNode(_component_el_dialog, {
3730
3730
  modelValue: _ctx.dialogVisible,
3731
3731
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.dialogVisible = $event),
3732
- "custom-class": "m-form-dialog",
3732
+ class: "m-form-dialog",
3733
3733
  top: "20px",
3734
3734
  title: _ctx.title,
3735
3735
  appendToBody: true,