@tplc/business 0.4.113 → 0.4.115
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 +24 -0
- package/components/lcb-button/lcb-button.vue +7 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,30 @@
|
|
|
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.4.115](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.112...v0.4.115) (2025-05-15)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.4.113 ([72dd9dd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/72dd9dd453292322440b0b1ce06ec70e6ba094ff))
|
|
11
|
+
* **release:** 0.4.114 ([775e408](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/775e408f8aa9ecca5477c60ec99c28cbd34a0e8b))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### ✨ Features | 新功能
|
|
15
|
+
|
|
16
|
+
* history 根据productName唯一 ([27149ba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/27149ba0de8dd19cb84be79703d9915222634a99))
|
|
17
|
+
* propmt ([7904ba7](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7904ba753b23dd38ca995c64a2a9c269ad9c95de))
|
|
18
|
+
* wec ([86e30e1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/86e30e1b610da8c4441b264cf2e0cefe35739af6))
|
|
19
|
+
* 动态参数抽离 ([0082963](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/008296339ba898c05f241c8e78f54ddb39214f8b))
|
|
20
|
+
* 动态图片跳转 ([2061cc9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2061cc92205af00523e94825b3aef32102fabe17))
|
|
21
|
+
|
|
22
|
+
### [0.4.114](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.113...v0.4.114) (2025-05-14)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### ✨ Features | 新功能
|
|
26
|
+
|
|
27
|
+
* wec ([86e30e1](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/86e30e1b610da8c4441b264cf2e0cefe35739af6))
|
|
28
|
+
|
|
5
29
|
### [0.4.113](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.111...v0.4.113) (2025-05-14)
|
|
6
30
|
|
|
7
31
|
|
|
@@ -48,6 +48,7 @@ import { LcbButtonProps } from './types'
|
|
|
48
48
|
import { PAGE_PROVIDE_KEY } from '../../constants'
|
|
49
49
|
import { getFlexStyle, transformValueUnit } from '../../utils/transform'
|
|
50
50
|
import { getDynamicData } from '../../utils/utils'
|
|
51
|
+
import { get } from 'lodash-es'
|
|
51
52
|
defineOptions({
|
|
52
53
|
name: 'LcbButton',
|
|
53
54
|
options: {
|
|
@@ -67,12 +68,13 @@ const pageInfo = inject(PAGE_PROVIDE_KEY) as Ref<Record<string, any>>
|
|
|
67
68
|
const userStore = uni.$lcb.userStore?.()
|
|
68
69
|
|
|
69
70
|
const dynamicValue = computed(() => {
|
|
70
|
-
let value =
|
|
71
|
+
let value = props.textDefaultValue
|
|
71
72
|
if (props.dynamicKey) {
|
|
72
|
-
value =
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
73
|
+
value = get(
|
|
74
|
+
props.keyFromUser ? userStore?.userInfo : pageInfo.value,
|
|
75
|
+
props.dynamicKey,
|
|
76
|
+
props.textDefaultValue,
|
|
77
|
+
)
|
|
76
78
|
}
|
|
77
79
|
return value
|
|
78
80
|
})
|