@tplc/business 0.5.87 → 0.5.89

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,26 @@
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.5.89](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.88...v0.5.89) (2025-12-10)
6
+
7
+ ### [0.5.88](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.14...v0.5.88) (2025-12-10)
8
+
9
+
10
+ ### 🚀 Chore | 构建/工程依赖/工具
11
+
12
+ * **release:** 0.5.84 ([b0001c5](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/b0001c597ad82c90324923f1b74428d0a9999bdf))
13
+ * **release:** 0.5.85 ([33cb28a](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/33cb28aa00f219ef61d09f1798d0754aaec81b34))
14
+ * **release:** 0.5.86 ([a834adc](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/a834adcf9ffd3e7c2ffd4e84dbe746d65207b31e))
15
+ * **release:** 0.5.87 ([5b63acf](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/5b63acf2142d48f41a5fee9c5c5729fcf369c395))
16
+ * **release:** 0.5.88 ([29ba0c7](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/29ba0c76fd08103f805e8f2e64b5e46d46b93996))
17
+
18
+
19
+ ### ✨ Features | 新功能
20
+
21
+ * form 删除 gap ([f5158bd](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/f5158bd25f0e53240401e40248b588ac5b523a8c))
22
+ * 兼容onUnmounted ([77dc8fb](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/77dc8fbb9d2bb144633696f8329f60e55255a15c))
23
+ * 调整cityAddress 只有4个字段 ([72d81ef](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/72d81efde8f3ce1a918c68942710277160971d94))
24
+
5
25
  ### [0.5.87](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.88...v0.5.87) (2025-12-10)
6
26
 
7
27
  ### [0.5.88](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.5.86...v0.5.88) (2025-12-10)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.5.87",
3
+ "version": "0.5.89",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -48,4 +48,4 @@ export declare const getOssImageSize: (url: string) => Promise<{
48
48
  width: number
49
49
  height: number
50
50
  }>
51
- export declare const getCityData: (data: Record<string, unknown>) => LcbAddress
51
+ export declare const getCityData: (data?: Record<string, unknown>) => LcbAddress
package/utils/utils.ts CHANGED
@@ -198,7 +198,7 @@ export const getOssImageSize = async (url: string) => {
198
198
  })
199
199
  }
200
200
 
201
- export const getCityData = (data: Record<string, unknown>) => {
201
+ export const getCityData = (data: Record<string, unknown> = {}) => {
202
202
  const keys = ['addressName', 'cityId', 'provinceId', 'areaId']
203
203
  return keys.reduce(
204
204
  (acc, key) => {