@uxda/appkit 4.3.17 → 4.3.19

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
@@ -1806,6 +1806,7 @@ var script$F = /* @__PURE__ */ defineComponent({
1806
1806
  sellerRegisterNum: res?.sellerRegisterNum,
1807
1807
  serviceType: res?.serviceType,
1808
1808
  totalAmount: res?.totalAmount,
1809
+ amountInFiguers: res?.amountInFiguers,
1809
1810
  totalTax: res?.totalTax,
1810
1811
  fileUrl,
1811
1812
  fileType,
@@ -3307,7 +3308,6 @@ function useHttp$2(defaultHeader) {
3307
3308
  headers,
3308
3309
  interceptors: [
3309
3310
  (raw) => {
3310
- console.log(raw, "=======raw");
3311
3311
  if (raw.status == 401) {
3312
3312
  appkitOptions[401]();
3313
3313
  return true;
@@ -3577,6 +3577,8 @@ var script$E = /* @__PURE__ */ defineComponent({
3577
3577
  } else {
3578
3578
  emit("complete", result);
3579
3579
  }
3580
+ }).catch((error) => {
3581
+ state.buttonLoading = false;
3580
3582
  });
3581
3583
  } else {
3582
3584
  wx.login({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxda/appkit",
3
- "version": "4.3.17",
3
+ "version": "4.3.19",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -84,7 +84,6 @@ function useHttp(defaultHeader?: DefaultHeaderType) {
84
84
  headers,
85
85
  interceptors: [
86
86
  (raw) => {
87
- console.log(raw, '=======raw')
88
87
  if (raw.status == 401) {
89
88
  appkitOptions[401]()
90
89
  return true
@@ -128,6 +128,8 @@ const onPayClick = () => {
128
128
  } else {
129
129
  emit('complete', result)
130
130
  }
131
+ }).catch((error) => {
132
+ state.buttonLoading = false
131
133
  })
132
134
  } else {
133
135
  wx.login({
@@ -158,6 +158,7 @@ async function getOcrInfo(file: string | FileType, fileType: 'img' | 'pdf' = 'im
158
158
  sellerRegisterNum: res?.sellerRegisterNum,
159
159
  serviceType: res?.serviceType,
160
160
  totalAmount: res?.totalAmount,
161
+ amountInFiguers: res?.amountInFiguers,
161
162
  totalTax: res?.totalTax,
162
163
  fileUrl: fileUrl,
163
164
  fileType: fileType,