xrk-components 2.0.0-beta.37 → 2.0.0-beta.38

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.esm.js CHANGED
@@ -75035,7 +75035,7 @@ var script$b = /*#__PURE__*/ defineComponent(__assign(__assign({}, __default__$b
75035
75035
  var url = (_k = (_h = (_f = (_c = (_b = (_a = item.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.fileUrl) !== null && _c !== void 0 ? _c : (_e = (_d = item.response) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.url) !== null && _f !== void 0 ? _f : (_g = item.response) === null || _g === void 0 ? void 0 : _g.fileUrl) !== null && _h !== void 0 ? _h : (_j = item.response) === null || _j === void 0 ? void 0 : _j.url) !== null && _k !== void 0 ? _k : '';
75036
75036
  return __assign(__assign({}, item), (url && { url: url }));
75037
75037
  });
75038
- emits('update:fileList', allFiles);
75038
+ emits('update:fileList', fileList.value);
75039
75039
  };
75040
75040
  var handleBeforeUpload = function (rawFile) { return __awaiter(_this, void 0, void 0, function () {
75041
75041
  var error_2;
package/lib/index.umd.js CHANGED
@@ -75038,7 +75038,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
75038
75038
  var url = (_k = (_h = (_f = (_c = (_b = (_a = item.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.fileUrl) !== null && _c !== void 0 ? _c : (_e = (_d = item.response) === null || _d === void 0 ? void 0 : _d.data) === null || _e === void 0 ? void 0 : _e.url) !== null && _f !== void 0 ? _f : (_g = item.response) === null || _g === void 0 ? void 0 : _g.fileUrl) !== null && _h !== void 0 ? _h : (_j = item.response) === null || _j === void 0 ? void 0 : _j.url) !== null && _k !== void 0 ? _k : '';
75039
75039
  return __assign(__assign({}, item), (url && { url: url }));
75040
75040
  });
75041
- emits('update:fileList', allFiles);
75041
+ emits('update:fileList', fileList.value);
75042
75042
  };
75043
75043
  var handleBeforeUpload = function (rawFile) { return __awaiter(_this, void 0, void 0, function () {
75044
75044
  var error_2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xrk-components",
3
- "version": "2.0.0-beta.37",
3
+ "version": "2.0.0-beta.38",
4
4
  "description": "",
5
5
  "main": "lib/index.esm.js",
6
6
  "typings": "lib/packages/index.d.ts",