@zkwq/business 0.1.44 → 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
@@ -6654,7 +6654,7 @@ var dg = function() {
6654
6654
  disabled: e.pickerDisabled,
6655
6655
  size: e.pickerSize,
6656
6656
  ripple: e.ripple,
6657
- "show-label": !1,
6657
+ "show-label": e.showLabel,
6658
6658
  name: e.name,
6659
6659
  placeholder: e.placeholder,
6660
6660
  value: e.displayValue,
@@ -6932,6 +6932,10 @@ const fg = {
6932
6932
  validateEvent: {
6933
6933
  type: Boolean,
6934
6934
  default: !0
6935
+ },
6936
+ showLabel: {
6937
+ type: Boolean,
6938
+ default: !1
6935
6939
  }
6936
6940
  },
6937
6941
  components: { BaseInput: Fe },
@@ -28599,18 +28603,22 @@ const Ce = {
28599
28603
  },
28600
28604
  upload(e, t, s) {
28601
28605
  let i = new FormData();
28602
- for (var n in t)
28603
- i.append(n, t[n]);
28604
- return new Promise((a, r) => {
28605
- 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;
28606
28614
  Ve.post(e, i, {
28607
- baseURL: (o = s == null ? void 0 : s.baseURL) != null ? o : "",
28615
+ baseURL: (l = s == null ? void 0 : s.baseURL) != null ? l : "",
28608
28616
  timeout: 1e5,
28609
28617
  headers: { "Content-Type": "multipart/form-data" }
28610
- }).then((l) => {
28611
- a(l.data);
28612
- }).catch((l) => {
28613
- r(l);
28618
+ }).then((c) => {
28619
+ r(c.data);
28620
+ }).catch((c) => {
28621
+ o(c);
28614
28622
  });
28615
28623
  });
28616
28624
  }