@keyblade/tinymce-editor-vue2 0.0.12-alpha.7 → 0.0.12-alpha.8

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/es/editor.vue2.js CHANGED
@@ -403,10 +403,10 @@ const Ze = /* @__PURE__ */ ue({
403
403
  });
404
404
  const X = () => {
405
405
  var o, l;
406
- return ((l = (o = y.value) == null ? void 0 : o.data) == null ? void 0 : l.call(o, { file: r.value.additionalData, extParameters: a.extParameters })) || {};
406
+ return ((l = (o = y.value) == null ? void 0 : o.data) == null ? void 0 : l.call(o, { ...r.value.additionalData || {}, extParameters: a.extParameters })) || {};
407
407
  }, Y = () => {
408
408
  var o, l;
409
- return ((l = (o = y.value) == null ? void 0 : o.headers) == null ? void 0 : l.call(o, { file: r.value.additionalData, extParameters: a.extParameters })) || {};
409
+ return ((l = (o = y.value) == null ? void 0 : o.headers) == null ? void 0 : l.call(o, { ...r.value.additionalData || {}, extParameters: a.extParameters })) || {};
410
410
  }, Z = (o, l, t) => {
411
411
  var i, n;
412
412
  const e = (n = (i = y == null ? void 0 : y.value) == null ? void 0 : i.handlerResponse) == null ? void 0 : n.call(i, o);
@@ -428,10 +428,10 @@ const Ze = /* @__PURE__ */ ue({
428
428
  v.error("上传发生错误,请重试!"), r.value.formData.file = t;
429
429
  }, ie = () => {
430
430
  var o, l;
431
- return ((l = (o = b.value) == null ? void 0 : o.data) == null ? void 0 : l.call(o, { file: s.value.additionalData, extParameters: a.extParameters })) || {};
431
+ return ((l = (o = b.value) == null ? void 0 : o.data) == null ? void 0 : l.call(o, { ...s.value.additionalData || {}, extParameters: a.extParameters })) || {};
432
432
  }, te = () => {
433
433
  var o, l;
434
- return ((l = (o = b.value) == null ? void 0 : o.headers) == null ? void 0 : l.call(o, { file: s.value.additionalData, extParameters: a.extParameters })) || {};
434
+ return ((l = (o = b.value) == null ? void 0 : o.headers) == null ? void 0 : l.call(o, { ...s.value.additionalData || {}, extParameters: a.extParameters })) || {};
435
435
  }, le = (o, l, t) => {
436
436
  var i, n;
437
437
  const e = (n = (i = b == null ? void 0 : b.value) == null ? void 0 : i.handlerResponse) == null ? void 0 : n.call(i, o);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@keyblade/tinymce-editor-vue2",
3
3
  "description": "KeyBlade Tinymce Editor Vue2",
4
4
  "author": "yangshuai <704807396@qq.com>",
5
- "version": "0.0.12-alpha.07",
5
+ "version": "0.0.12-alpha.08",
6
6
  "private": false,
7
7
  "type": "module",
8
8
  "main": "es/index.js",