@tplc/business 0.4.55 → 0.4.56

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,8 @@
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.56](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.55...v0.4.56) (2025-04-04)
6
+
5
7
  ### [0.4.55](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.53...v0.4.55) (2025-04-04)
6
8
 
7
9
 
@@ -101,7 +101,12 @@ const onCancel = () => {
101
101
  }
102
102
 
103
103
  const onAddressClick = (item: LcbAddress) => {
104
- modelValue.value = item as ChildHotAddress
104
+ modelValue.value = {
105
+ addressName: item.addressName,
106
+ cityId: item.cityId,
107
+ areaId: item.areaId,
108
+ provinceId: item.provinceId,
109
+ } as ChildHotAddress
105
110
  onCancel()
106
111
  show.value = false
107
112
  }
@@ -110,7 +115,6 @@ watch(
110
115
  (val) => {
111
116
  if (val && !modelValue.value) {
112
117
  modelValue.value = {
113
- addressInfo: val.addressInfo,
114
118
  addressName: val.showName || val.cityName,
115
119
  cityId: val.cityId,
116
120
  areaId: val.areaId,
@@ -189,7 +193,12 @@ watch(
189
193
 
190
194
  const onSelectChange = (val: ChildHotAddress) => {
191
195
  if (JSON.stringify(val) !== JSON.stringify(modelValue.value)) {
192
- modelValue.value = val
196
+ modelValue.value = {
197
+ addressName: val.addressName,
198
+ cityId: val.cityId,
199
+ areaId: val.areaId,
200
+ provinceId: val.provinceId,
201
+ } as ChildHotAddress
193
202
  }
194
203
  }
195
204
  onMounted(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.55",
3
+ "version": "0.4.56",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],