@tplc/business 0.5.33 → 0.5.34
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/CHANGELOG.md +22 -0
- package/hooks/usePay.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,28 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.5.34](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.30...v0.5.34) (2025-10-31)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* map ([069393d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/069393dc76c5c23c7af1aebe0884675a93cff861))
|
|
11
|
+
* 调整pageId 获取方式 ([86a8500](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/86a8500019b7ff537ab75f9f4340e6489fe25997))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
15
|
+
|
|
16
|
+
* **release:** 0.5.31 ([eb074b1](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/eb074b1bc5e118a3c72d9930232e61d823441c41))
|
|
17
|
+
* **release:** 0.5.32 ([d43fc57](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/d43fc578a514f5740b9d7a147cd460426dbcdf11))
|
|
18
|
+
* **release:** 0.5.33 ([9d2f5c6](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/9d2f5c68dd4ec1541633ee4f316a96add9270f32))
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
22
|
+
|
|
23
|
+
* pay 取值错误 ([8c5bd09](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/8c5bd09161e28684a2d480ee0135defb81b69f48))
|
|
24
|
+
* 修改render-view 引用错误 ([cb23a9a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/cb23a9a9a949167bfb294b5f807890bcf5d714e1))
|
|
25
|
+
* 支持图片+渐变色 ([d548e2a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/d548e2a3ec7242d2d5863ef17b73370eb037573f))
|
|
26
|
+
|
|
5
27
|
### [0.5.33](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.32...v0.5.33) (2025-10-31)
|
|
6
28
|
|
|
7
29
|
|
package/hooks/usePay.ts
CHANGED
|
@@ -12,8 +12,8 @@ const usePay = (
|
|
|
12
12
|
|
|
13
13
|
const runAsync = async (orderNo: string) => {
|
|
14
14
|
try {
|
|
15
|
-
const { data } = await (queryStatusFun || queryOrderPaymentStatus)(orderNo)
|
|
16
|
-
if (data?.status === 1) {
|
|
15
|
+
const { data, status } = await (queryStatusFun || queryOrderPaymentStatus)(orderNo)
|
|
16
|
+
if (status === 1 || data?.status === 1) {
|
|
17
17
|
uni.hideLoading()
|
|
18
18
|
cancel()
|
|
19
19
|
successFun.value?.()
|