@tplc/business 0.3.7 → 0.3.8

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,17 @@
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.3.8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.6...v0.3.8) (2025-01-19)
6
+
7
+
8
+ ### ✨ Features | 新功能
9
+
10
+ * picker 支持button ([2ce0e83](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2ce0e8382e22114cbed52d95d6dabd10946ce2fb))
11
+ * preview ([a25cfd5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a25cfd57cd7da7608755c0f31b66dbca690bbcce))
12
+ * update search ([83ea1bd](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/83ea1bd6d4318628cb0a9d771c663554b5547976))
13
+ * 定位2天过期时间 ([3c9b7cf](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/3c9b7cf506d55d60ff748ab11b20d5781c73b10f))
14
+ * 新增action ([a81d53a](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/a81d53a501f088dad9e906bc62b89cb8f3685706))
15
+
5
16
  ### [0.3.6](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.5...v0.3.6) (2025-01-15)
6
17
 
7
18
  ### [0.3.5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.4...v0.3.5) (2025-01-15)
@@ -63,7 +63,6 @@ import LcbCityLetter from './components/lcb-city-letter/index.vue'
63
63
  import LcbCityList from './components/lcb-city-list/index.vue'
64
64
  import { LcbCitySelectProps } from './types'
65
65
  import { debounce } from '@tplc/wot/components/common/util'
66
- import qs from 'qs'
67
66
  defineOptions({
68
67
  name: 'LcbCitySelect',
69
68
  options: {
@@ -21,6 +21,12 @@ const useLocation = () => {
21
21
 
22
22
  // 引导用户前往设置页面重新授权
23
23
  function navigateToSettings() {
24
+ /** 48小时提醒一次 */
25
+ const lastTime = uni.getStorageSync('location_last_time')
26
+ if (lastTime && new Date().getTime() - lastTime < 48 * 60 * 60 * 1000) {
27
+ return
28
+ }
29
+ uni.setStorageSync('location_last_time', new Date().getTime())
24
30
  uni.showModal({
25
31
  title: translate('定位权限申请'),
26
32
  content: translate('您尚未开启定位权限,无法正常使用该功能,请前往设置页面开启。'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "peerDependencies": {
13
13
  "vue": ">=3.2.47",
14
- "@tplc/wot": "0.1.53"
14
+ "@tplc/wot": "0.1.54"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",