@tplc/business 0.4.3 → 0.4.4

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,13 @@
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.4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.3...v0.4.4) (2025-03-23)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * 修改 addresName ([bbc369d](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/bbc369dad73eb961c74b2aa1dfa6b833bb5cb572))
11
+
5
12
  ### [0.4.3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.2...v0.4.3) (2025-03-23)
6
13
 
7
14
  ### [0.4.2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.1...v0.4.2) (2025-03-23)
@@ -2,7 +2,7 @@ export interface HotAddress {
2
2
  categoryName: string
3
3
  hint?: string
4
4
  tips?: string
5
- childHotAddress: ChildHotAddress[]
5
+ childAddress: ChildHotAddress[]
6
6
  }
7
7
 
8
8
  export interface ChildHotAddress {
@@ -32,7 +32,7 @@
32
32
  `${city.addressName},${city.keywords}`,
33
33
  [city.className || '']: true,
34
34
  }"
35
- v-for="city in item.childHotAddress"
35
+ v-for="city in item.childAddress"
36
36
  @click="onAddrClick(city, item.categoryName.includes('字母'))"
37
37
  :style="{
38
38
  fontSize: city?.addressName?.length > 4 ? '20rpx' : '24rpx',
@@ -89,7 +89,7 @@ const locationAddress = computed<HotAddress[]>(() => {
89
89
  categoryName: '定位',
90
90
  hint: '当前位置',
91
91
  tips: props.location.haveNotTip,
92
- childHotAddress: [
92
+ childAddress: [
93
93
  {
94
94
  addressName: props.location.haveNotCityName || props.location.cityName,
95
95
  cityId: props.location.haveNotCityId || props.location.cityId,
@@ -114,7 +114,7 @@ const historyLetter = computed<HotAddress[]>(() => {
114
114
  {
115
115
  categoryName: '历史',
116
116
  hint: '历史选择',
117
- childHotAddress: historyList.value,
117
+ childAddress: historyList.value,
118
118
  },
119
119
  ]
120
120
  : []
@@ -147,7 +147,7 @@ const indexBars = computed<HotAddress[]>(() => {
147
147
  ? ([
148
148
  {
149
149
  categoryName: '字母索引',
150
- childHotAddress: letterList.value.map((v) => {
150
+ childAddress: letterList.value.map((v) => {
151
151
  return {
152
152
  addressName: v,
153
153
  cityId: v,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.3",
3
+ "version": "0.4.4",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -2,7 +2,7 @@ export interface HotAddress {
2
2
  categoryName: string
3
3
  hint?: string
4
4
  tips?: string
5
- childHotAddress: ChildHotAddress[]
5
+ childAddress: ChildHotAddress[]
6
6
  }
7
7
  export interface ChildHotAddress {
8
8
  addressName: string