@uxda/appkit 4.3.18 → 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
@@ -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.18",
3
+ "version": "4.3.19",
4
4
  "description": "小程序应用开发包",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.ts",
@@ -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({