@tplc/business 0.7.37 → 0.7.38
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 +23 -0
- package/package.json +2 -2
- package/types/utils/utils.d.ts +1 -1
- package/utils/utils.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
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.7.38](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.22...v0.7.38) (2026-01-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ♻️ Code Refactoring | 代码重构
|
|
9
|
+
|
|
10
|
+
* Update window information retrieval across components to use uni.getWindowInfo for improved consistency ([744c24f](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/744c24f71d420356265331a55236b30adad11f1b))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ✨ Features | 新功能
|
|
14
|
+
|
|
15
|
+
* **lcb-nav:** add 'custom' action to ICapsule interface and implement customAction handling in onCapsule function ([fe8cec5](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/fe8cec50671d4ef07955d162303246bc102f2059))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
19
|
+
|
|
20
|
+
* **release:** 0.7.37 ([d5ada99](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/d5ada99959ec39587e1da927574761993086f24e))
|
|
21
|
+
* **release:** 1.0.23 ([b383996](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/b383996a3b065170eddefc59ede5001919bb453a))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### 💄 Styles | 风格
|
|
25
|
+
|
|
26
|
+
* Change padding-left of wd-select-picker label to 22rpx for improved layout consistency ([9d3c8e0](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/9d3c8e0799c0dca0ad414e4150d637fcd8b8ddad))
|
|
27
|
+
|
|
5
28
|
### [0.7.37](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.33...v0.7.37) (2025-12-31)
|
|
6
29
|
|
|
7
30
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.38",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"业务组件"
|
|
6
6
|
],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
13
|
"vue": ">=3.2.47",
|
|
14
|
-
"@tplc/wot": "1.0.
|
|
14
|
+
"@tplc/wot": "1.0.23"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|
package/types/utils/utils.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export declare const calculateImageHeight: (
|
|
|
23
23
|
gap?: number,
|
|
24
24
|
) => number
|
|
25
25
|
export declare const customUpload: UploadMethod
|
|
26
|
-
export declare const getSharePath: () => string
|
|
26
|
+
export declare const getSharePath: (params?: Record<string, any>) => string
|
|
27
27
|
/** 获取动态数据 */
|
|
28
28
|
export declare const getDynamicData: (
|
|
29
29
|
text: string | undefined,
|
package/utils/utils.ts
CHANGED
|
@@ -132,12 +132,13 @@ export const customUpload: UploadMethod = (file, formData, options) => {
|
|
|
132
132
|
})
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
export const getSharePath = () => {
|
|
135
|
+
export const getSharePath = (params?: Record<string, any>) => {
|
|
136
136
|
const inviteUserId = uni.$lcb.userStore?.()?.userInfo?.userId
|
|
137
137
|
const inviteTime = new Date().getTime()
|
|
138
138
|
return `/pages/start/index?${stringify({
|
|
139
139
|
path: getCurrentPage().fullPath,
|
|
140
140
|
...getCurrentPage().options,
|
|
141
|
+
...params,
|
|
141
142
|
inviteTime,
|
|
142
143
|
inviteUserId,
|
|
143
144
|
shareDistributorId: uni.$lcb.userStore?.()?.userInfo?.shareDistributorId,
|