@zkwq/business 0.1.45 → 0.1.46

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.
@@ -1,6 +1,4 @@
1
- .Author__custom--popper {
2
- min-width: 600px;
3
- }
1
+
4
2
 
5
3
 
6
4
 
@@ -85,4 +83,6 @@
85
83
  .FormItem__tip[data-v-714aa566] {
86
84
  margin-top: 12px;
87
85
  color: #8590a6;
86
+ }.Author__custom--popper {
87
+ min-width: 600px;
88
88
  }
@@ -1 +1 @@
1
- .Author__custom--popper{min-width:600px}[data-v-714aa566]:export{primary:#2F3A91;success:#67C23A;warning:#FF791A;danger:#F1403C;info:#8590a6}.Author__wrap[data-v-714aa566]{width:100%}.Form__author[data-v-714aa566]{position:relative;margin-right:16px;width:100%}.FormItem__tip[data-v-714aa566]{margin-top:12px;color:#8590a6}
1
+ [data-v-714aa566]:export{primary:#2F3A91;success:#67C23A;warning:#FF791A;danger:#F1403C;info:#8590a6}.Author__wrap[data-v-714aa566]{width:100%}.Form__author[data-v-714aa566]{position:relative;margin-right:16px;width:100%}.FormItem__tip[data-v-714aa566]{margin-top:12px;color:#8590a6}.Author__custom--popper{min-width:600px}
package/dist/index.js CHANGED
@@ -28603,18 +28603,22 @@ const Ce = {
28603
28603
  },
28604
28604
  upload(e, t, s) {
28605
28605
  let i = new FormData();
28606
- for (var n in t)
28607
- i.append(n, t[n]);
28608
- return new Promise((a, r) => {
28609
- var o;
28606
+ if (t instanceof Array)
28607
+ for (var n in t)
28608
+ i.append(n.key, n.value);
28609
+ else
28610
+ for (var a in t)
28611
+ i.append(a, t[a]);
28612
+ return new Promise((r, o) => {
28613
+ var l;
28610
28614
  Ve.post(e, i, {
28611
- baseURL: (o = s == null ? void 0 : s.baseURL) != null ? o : "",
28615
+ baseURL: (l = s == null ? void 0 : s.baseURL) != null ? l : "",
28612
28616
  timeout: 1e5,
28613
28617
  headers: { "Content-Type": "multipart/form-data" }
28614
- }).then((l) => {
28615
- a(l.data);
28616
- }).catch((l) => {
28617
- r(l);
28618
+ }).then((c) => {
28619
+ r(c.data);
28620
+ }).catch((c) => {
28621
+ o(c);
28618
28622
  });
28619
28623
  });
28620
28624
  }