@tplc/business 0.7.58 → 0.7.59
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,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.59](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.56...v0.7.59) (2026-01-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### 🚀 Chore | 构建/工程依赖/工具
|
|
9
|
+
|
|
10
|
+
* **release:** 0.7.57 ([335581c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/335581c24bb3e9434fb02894a9d68312ca4ac8c0))
|
|
11
|
+
* **release:** 0.7.58 ([e293b2c](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/e293b2c5adbbc2c73d673518415baaa03ddcf0a4))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### ✨ Features | 新功能
|
|
15
|
+
|
|
16
|
+
* **lcb-product-item, lcb-tabs, wd-img, wd-tab:** enhance component functionality with new computed properties and style adjustments ([45f0e74](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/45f0e749af0ae4425588b6e5ec44eac8c4a61b6a))
|
|
17
|
+
* **lcb-tabs, lcb-title:** replace tag color and radius props with lineWidth, lineHeight, and slidable props; add moreFontWeight prop for title customization ([be1834a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/be1834a33cc23e862a4574dcabc962b3d93efec3))
|
|
18
|
+
* **lcb-title:** add moreFontWeight prop to customize font weight ([882ca54](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/882ca542b69a87852b136839997ab6b35c687744))
|
|
19
|
+
* **lcb-title:** introduce moreFontWeight prop for enhanced font weight customization ([c67c765](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/c67c76567c4bea97920e5e440914cce5022db0f7))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
23
|
+
|
|
24
|
+
* **lcb-tabs:** initialize currentTab on component mount to ensure correct default tab selection ([3bd2024](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/3bd2024c1a654897a621ea8f559ac2c12ffb86b0))
|
|
25
|
+
* **lcb-tabs:** update currentTab initialization to use item name based on defaultIndex ([aad2d22](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/aad2d22403c8c3ee8987fcdeb153f4637c9594a0))
|
|
26
|
+
* **lcb-wrapper-list:** update dynamicScope handling and improve page limit configuration ([871bd0d](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/871bd0dae7c499bd184b7fcfc1b09ecae4553d22))
|
|
27
|
+
|
|
5
28
|
### [0.7.58](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.57...v0.7.58) (2026-01-09)
|
|
6
29
|
|
|
7
30
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</template>
|
|
24
24
|
|
|
25
25
|
<script setup lang="ts">
|
|
26
|
-
import { ref, watch } from 'vue'
|
|
26
|
+
import { onMounted, ref, watch } from 'vue'
|
|
27
27
|
import useSyncForm from '../../../../hooks/useSyncForm'
|
|
28
28
|
import { LcbTabsProps } from '../../types'
|
|
29
29
|
defineOptions({
|
|
@@ -43,7 +43,7 @@ const props = withDefaults(defineProps<LcbTabsProps>(), {
|
|
|
43
43
|
slidableNum: 6,
|
|
44
44
|
defaultIndex: 0,
|
|
45
45
|
})
|
|
46
|
-
const currentTab = ref(
|
|
46
|
+
const currentTab = ref()
|
|
47
47
|
const { syncForm } = useSyncForm({
|
|
48
48
|
dynamicScope: props.dynamicScope,
|
|
49
49
|
visibleScope: props.visibleScope,
|
|
@@ -57,6 +57,11 @@ watch(
|
|
|
57
57
|
tabs.value.updateLineStyle(true)
|
|
58
58
|
},
|
|
59
59
|
)
|
|
60
|
+
onMounted(() => {
|
|
61
|
+
setTimeout(() => {
|
|
62
|
+
currentTab.value = props.items?.[props.defaultIndex]?.name
|
|
63
|
+
}, 100)
|
|
64
|
+
})
|
|
60
65
|
</script>
|
|
61
66
|
|
|
62
67
|
<style lang="scss" scoped></style>
|