@itshixun/qckeditor-vue3 1.0.4 → 1.0.6

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -12008,13 +12008,13 @@ class ui {
12008
12008
  _initListeners(e, t, a) {
12009
12009
  const n = this.xhr, l = this.loader, o = `文件上传失败: ${a.name}`;
12010
12010
  n.addEventListener("error", () => t(o)), n.addEventListener("abort", () => t()), n.addEventListener("load", () => {
12011
- var f, v, b;
12011
+ var f, v;
12012
12012
  const u = n.response;
12013
12013
  if (!u || u.error || n.status >= 400) {
12014
- const y = ((f = u == null ? void 0 : u.error) == null ? void 0 : f.message) || (u == null ? void 0 : u.message) || o;
12015
- return t(y);
12014
+ const b = ((f = u == null ? void 0 : u.error) == null ? void 0 : f.message) || (u == null ? void 0 : u.message) || o;
12015
+ return t(b);
12016
12016
  }
12017
- const c = u.default || u.url || ((v = u.data) == null ? void 0 : v.url) || ((b = u.urls) == null ? void 0 : b.default) || "";
12017
+ const c = u.default || u.url || ((v = u.data) == null ? void 0 : v.url) || "";
12018
12018
  e({
12019
12019
  default: c,
12020
12020
  ...u
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itshixun/qckeditor-vue3",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Vue3 components for CKEditor 5",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",