@tplc/business 0.4.67 → 0.4.69
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
CHANGED
|
@@ -2,6 +2,41 @@
|
|
|
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.69](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.80...v0.4.69) (2025-04-10)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.4.68 ([1d4e0de](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/1d4e0de1dbfeacb26b4ba47fd471f6ee3a40585a))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ✨ Features | 新功能
|
|
14
|
+
|
|
15
|
+
* 调整图片存储 ([629dc80](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/629dc8060f9519b016419175017d76f3ebfeb557))
|
|
16
|
+
* 调整按钮配置 ([db5503f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/db5503f9e94ba00bc37947c401a3e4d5b52abb4d))
|
|
17
|
+
|
|
18
|
+
### [0.4.68](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.64...v0.4.68) (2025-04-09)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
22
|
+
|
|
23
|
+
* **release:** 0.1.79 ([f3280eb](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f3280ebc71c45e36968d70b449608d6eaaeb1a16))
|
|
24
|
+
* **release:** 0.1.80 ([a53c579](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a53c5791278fe2f89eebb5ce42d4210d71a05956))
|
|
25
|
+
* **release:** 0.4.65 ([f14557e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f14557e81b735e781902d82cd93bc16426d7a160))
|
|
26
|
+
* **release:** 0.4.66 ([bbecd40](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/bbecd40845d9896f5decb7ed7fe8c28f86d9732b))
|
|
27
|
+
* **release:** 0.4.67 ([5cc61f3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5cc61f382292c7321ffb5ab9bb669003604c6463))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### ✨ Features | 新功能
|
|
31
|
+
|
|
32
|
+
* level colver ([a8cf74e](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a8cf74e83723e9d5fe820ea1cd1743e439af7a46))
|
|
33
|
+
* search 回车 带上keywords ([ce99896](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/ce998961a0b52d9a4e2d2018489d22175c5bb227))
|
|
34
|
+
* 修改ui ([9ad7fc6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/9ad7fc61715f24ad63bddfb5739c3129444f5487))
|
|
35
|
+
* 兼容多行文案 ([466da44](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/466da4433988e497d086c7e02c152492a49b0476))
|
|
36
|
+
* 列表 星星对齐 ([4d95ff9](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4d95ff99fc85a4f643dab9beaaca6816869d5193))
|
|
37
|
+
* 调整图片存储 ([629dc80](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/629dc8060f9519b016419175017d76f3ebfeb557))
|
|
38
|
+
* 调整样式 ([2b912d5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2b912d5e319a65aa391a1a859fbe7dc202d12305))
|
|
39
|
+
|
|
5
40
|
### [0.4.67](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.66...v0.4.67) (2025-04-08)
|
|
6
41
|
|
|
7
42
|
|
|
@@ -25,14 +25,9 @@
|
|
|
25
25
|
:color="iconColor"
|
|
26
26
|
/>
|
|
27
27
|
<template v-if="mode === 'image'">
|
|
28
|
-
<wd-img
|
|
29
|
-
:src="innerValue || props.url"
|
|
30
|
-
:width="imageWidth"
|
|
31
|
-
:height="imageHeight"
|
|
32
|
-
mode="aspectFit"
|
|
33
|
-
/>
|
|
28
|
+
<wd-img :src="innerValue" :width="imageWidth" :height="imageHeight" mode="aspectFit" />
|
|
34
29
|
</template>
|
|
35
|
-
<template v-else>{{ innerValue
|
|
30
|
+
<template v-else>{{ innerValue }}</template>
|
|
36
31
|
</view>
|
|
37
32
|
</lcb-action-view>
|
|
38
33
|
</lcb-block>
|
|
@@ -74,13 +69,16 @@ const dynamicValue = computed(() => {
|
|
|
74
69
|
return value
|
|
75
70
|
})
|
|
76
71
|
const innerValue = computed(() => {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
72
|
+
if (props.mode === 'image') {
|
|
73
|
+
return dynamicValue.value || props.url
|
|
74
|
+
}
|
|
75
|
+
let value = props.text
|
|
76
|
+
if (props.text && props.text.includes('${')) {
|
|
77
|
+
value = props.text.replace(/\$\{([^}]+)\}/g, (_, p) => {
|
|
80
78
|
if (props.keyFromUser) {
|
|
81
|
-
return userStore?.userInfo?.[
|
|
79
|
+
return userStore?.userInfo?.[p] ?? props.textDefaultValue ?? ''
|
|
82
80
|
} else {
|
|
83
|
-
return pageInfo.value?.[
|
|
81
|
+
return pageInfo.value?.[p] ?? props.textDefaultValue ?? ''
|
|
84
82
|
}
|
|
85
83
|
})
|
|
86
84
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tplc/business",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.69",
|
|
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": "0.1.
|
|
14
|
+
"@tplc/wot": "0.1.80"
|
|
15
15
|
},
|
|
16
16
|
"engines": {
|
|
17
17
|
"node": ">=18",
|