@zkwq/business 0.0.89 → 0.0.91

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/dist/index.js CHANGED
@@ -27714,7 +27714,7 @@ const u0 = {
27714
27714
  },
27715
27715
  mounted() {
27716
27716
  this.id = kc(), this.$nextTick(() => {
27717
- this.editor = new Lc(document.getElementById(this.id)), this.editor.config.height = 300, this.editor.config.focus = !1, this.editor.config.uploadImgServer = Gt, this.editor.config.uploadFileName = "file1000", this.editor.config.uploadImgMaxLength = 1, this.placeholder && (this.editor.config.placeholder = this.placeholder), this.editor.config.uploadImgParams = {
27717
+ this.editor = new Lc(document.getElementById(this.id)), this.editor.config.height = 300, this.editor.config.zIndex = 500, this.editor.config.focus = !1, this.editor.config.uploadImgServer = Gt, this.editor.config.uploadFileName = "file1000", this.editor.config.uploadImgMaxLength = 1, this.placeholder && (this.editor.config.placeholder = this.placeholder), this.editor.config.uploadImgParams = {
27718
27718
  uploader: this.userId
27719
27719
  }, this.editor.config.uploadImgHooks = {
27720
27720
  // 图片上传并返回了结果,想要自己把图片插入到编辑器中
@@ -28109,7 +28109,7 @@ const q = {
28109
28109
  responseType: "blob",
28110
28110
  baseURL: (a = s == null ? void 0 : s.baseURL) != null ? a : ""
28111
28111
  }).then((r) => {
28112
- r.data.error || i(r.data);
28112
+ i(r.data);
28113
28113
  }).catch((r) => {
28114
28114
  n(r);
28115
28115
  });
@@ -28121,7 +28121,7 @@ const q = {
28121
28121
  ce.post(e, t, {
28122
28122
  baseURL: (a = s == null ? void 0 : s.baseURL) != null ? a : ""
28123
28123
  }).then((r) => {
28124
- r.data.error || i(r.data);
28124
+ i(r.data);
28125
28125
  }).catch((r) => {
28126
28126
  n(r);
28127
28127
  });
@@ -28133,7 +28133,7 @@ const q = {
28133
28133
  ce.post(e, Rc.stringify(t), {
28134
28134
  baseURL: (a = s == null ? void 0 : s.baseURL) != null ? a : ""
28135
28135
  }).then((r) => {
28136
- r.data.error || i(r.data);
28136
+ i(r.data);
28137
28137
  }).catch((r) => {
28138
28138
  n(r);
28139
28139
  });
@@ -28145,7 +28145,7 @@ const q = {
28145
28145
  ce.put(e, t, {
28146
28146
  baseURL: (a = s == null ? void 0 : s.baseURL) != null ? a : ""
28147
28147
  }).then((r) => {
28148
- r.data.error || i(r.data);
28148
+ i(r.data);
28149
28149
  }).catch((r) => {
28150
28150
  n(r);
28151
28151
  });
@@ -28158,7 +28158,7 @@ const q = {
28158
28158
  params: t,
28159
28159
  baseURL: (a = s == null ? void 0 : s.baseURL) != null ? a : ""
28160
28160
  }).then((r) => {
28161
- r.data.error || i(r.data);
28161
+ i(r.data);
28162
28162
  }).catch((r) => {
28163
28163
  n(r);
28164
28164
  });