yxuse 3.0.54 → 3.0.55

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/lib/index.es6.js CHANGED
@@ -20720,7 +20720,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
20720
20720
  if (!item.prop) continue;
20721
20721
  const isAsyncOption = ((_a = item.config) == null ? void 0 : _a.loadOptions) && typeof item.config.loadOptions === "function";
20722
20722
  if (!(isAsyncOption && formParams[item.prop] !== void 0)) {
20723
- initialData[item.prop] = formParams[item.prop];
20723
+ formData.value[item.prop] = formParams[item.prop];
20724
20724
  }
20725
20725
  }
20726
20726
  } else {
@@ -20875,9 +20875,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
20875
20875
  default: () => [renderChildComponent]
20876
20876
  });
20877
20877
  };
20878
- const formItemSlots = (form, scope) => {
20878
+ const formItemSlots = (form) => {
20879
20879
  var _a2;
20880
- return form.slotName && ((_a2 = slots[form.slotName]) == null ? void 0 : _a2.call(slots, scope));
20880
+ return form.slotName && ((_a2 = slots[form.slotName]) == null ? void 0 : _a2.call(slots, formData.value));
20881
20881
  };
20882
20882
  const renderFormItem = (formList) => {
20883
20883
  const renderForm = (form) => {
@@ -20894,10 +20894,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
20894
20894
  "labelWidth": formStyle == null ? void 0 : formStyle.labelWidth,
20895
20895
  "key": form.prop
20896
20896
  }), {
20897
- default: (scope) => {
20897
+ default: () => {
20898
20898
  if (form == null ? void 0 : form.render) return form == null ? void 0 : form.render(formData.value);
20899
20899
  if (form.renderType) return dynamicComponent(form);
20900
- return (form == null ? void 0 : form.slotName) && formItemSlots(form, scope);
20900
+ return (form == null ? void 0 : form.slotName) && formItemSlots(form);
20901
20901
  },
20902
20902
  label: () => {
20903
20903
  var _a3, _b2;
@@ -20962,7 +20962,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
20962
20962
  };
20963
20963
  }
20964
20964
  }));
20965
- const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-38c8b601"]]);
20965
+ const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-eb1311a5"]]);
20966
20966
  let versionKey, curVersion, updateApp;
20967
20967
  const updateSysVersion = () => {
20968
20968
  localStorage.setItem(versionKey, curVersion);
Binary file