@tplc/business 0.4.42 → 0.4.44

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,35 @@
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.44](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.41...v0.4.44) (2025-04-01)
6
+
7
+
8
+ ### 🐛 Bug Fixes | Bug 修复
9
+
10
+ * 修改form 图片连接错误 ([da24213](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/da242135f2626d8e275ad1ed63c0dd5c7846d4dc))
11
+
12
+
13
+ ### 🚀 Chore | 构建/工程依赖/工具
14
+
15
+ * **release:** 0.4.42 ([5b2e8ba](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/5b2e8ba0446c4d1f2516a3a17168828340eec387))
16
+ * **release:** 0.4.43 ([fb2962b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/fb2962ba3b43e8cc12364d52c184660a13baf3c0))
17
+
18
+
19
+ ### ✨ Features | 新功能
20
+
21
+ * 修改默认定位 ([de955ed](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/de955ed48add18b9224404217a6adaac3424c347))
22
+ * 定位 ([0451544](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/045154458b16df438faee48015b90148bfcc842f))
23
+ * 新增rate颜色 ([93539fe](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/93539fe8c1bf3235a856717b70980efad916ea79))
24
+ * 日期颜色支持白色 ([08044aa](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/08044aa5af832e3916b4399c140b57c59e970723))
25
+ * 星级配置 ([30ccc30](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/30ccc30da8a56f45f247b56e0743ccf4827ed898))
26
+
27
+ ### [0.4.43](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.42...v0.4.43) (2025-03-31)
28
+
29
+
30
+ ### ✨ Features | 新功能
31
+
32
+ * 修改默认定位 ([de955ed](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/de955ed48add18b9224404217a6adaac3424c347))
33
+
5
34
  ### [0.4.42](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.38...v0.4.42) (2025-03-31)
6
35
 
7
36
 
@@ -158,7 +158,7 @@ const value = computed(() => {
158
158
  :num="Number(value)"
159
159
  readonly
160
160
  :size="style.fontSize ?? '22rpx'"
161
- :active-color="style?.color ?? 'var(--wot-color-theme)'"
161
+ :active-color="style?.color ?? 'var(--level-color)'"
162
162
  custom-class="!v-inherit"
163
163
  />
164
164
  </view>
@@ -10,5 +10,5 @@ export interface UserLocation {
10
10
  haveNotTip: string
11
11
  showName: string
12
12
  }
13
- export const getUserLocation = (data: { userLongitude: string; userLatitude: string }) =>
13
+ export const getUserLocation = (data?: { userLongitude: string; userLatitude: string }) =>
14
14
  uni.$lcb.http.post<UserLocation>('/address/userLocation', data)
@@ -70,7 +70,13 @@ const useLocation = () => {
70
70
  },
71
71
  fail: function (res) {
72
72
  console.log('获取位置信息失败:', res)
73
- locationIng.value = false
73
+ getUserLocation()
74
+ .then((res) => {
75
+ currentLocation.value = res.data
76
+ })
77
+ .finally(() => {
78
+ locationIng.value = false
79
+ })
74
80
  },
75
81
  })
76
82
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.42",
3
+ "version": "0.4.44",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -10,7 +10,7 @@ export interface UserLocation {
10
10
  haveNotTip: string
11
11
  showName: string
12
12
  }
13
- export declare const getUserLocation: (data: {
13
+ export declare const getUserLocation: (data?: {
14
14
  userLongitude: string
15
15
  userLatitude: string
16
16
  }) => Promise<import('../action').IResData<UserLocation>>