yxuse 3.0.57 → 3.0.58

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
@@ -20934,7 +20934,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
20934
20934
  };
20935
20935
  }
20936
20936
  });
20937
- const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-032287c8"]]);
20937
+ const index$1 = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__scopeId", "data-v-7efd15a3"]]);
20938
20938
  let versionKey, curVersion, updateApp;
20939
20939
  const updateSysVersion = () => {
20940
20940
  localStorage.setItem(versionKey, curVersion);
@@ -21071,9 +21071,10 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
21071
21071
  upload.value.handleStart(file);
21072
21072
  };
21073
21073
  const onChange = async (file, uploadFiles) => {
21074
+ var _a;
21074
21075
  uploadFileList = uploadFiles;
21075
21076
  if ((attrs == null ? void 0 : attrs.limit) && (attrs == null ? void 0 : attrs.limit) === 1) {
21076
- await uploadFile(uploadFileList[0]);
21077
+ await uploadFile((_a = uploadFileList[0]) == null ? void 0 : _a.raw);
21077
21078
  } else {
21078
21079
  await uploadFile(uploadFileList);
21079
21080
  }
Binary file