@tplc/business 0.4.143 → 0.4.144

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.144](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.143...v0.4.144) (2025-06-25)
6
+
5
7
  ### [0.4.143](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.142...v0.4.143) (2025-06-25)
6
8
 
7
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.143",
3
+ "version": "0.4.144",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
package/utils/history.ts CHANGED
@@ -12,11 +12,7 @@ export const setHistoryCity = (address?: ChildHotAddress) => {
12
12
  /** 获取城市历史记录如果超过3天就不使用历史 */
13
13
  export const getHistoryCity = () => {
14
14
  const history = uni.getStorageSync('cityHistory')
15
- if (
16
- history &&
17
- new Date().getTime() - history.time <
18
- (uni.$lcb.constantsStore?.().otherConfig?.cityExpirationTime || 0)
19
- ) {
15
+ if (history) {
20
16
  return history.address as ChildHotAddress
21
17
  } else {
22
18
  return getApp().globalData!.currentCity