@tplc/business 0.3.54 → 0.3.55

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,30 @@
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.55](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.49...v0.3.55) (2025-02-20)
6
+
7
+
8
+ ### 🚀 Chore | 构建/工程依赖/工具
9
+
10
+ * **release:** 0.1.61 ([db6aaa3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/db6aaa33beaa34a27285added8d94aa10f3a26da))
11
+ * **release:** 0.3.50 ([990e043](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/990e043fa2556ceeac9789823f12231d3f63fe22))
12
+ * **release:** 0.3.51 ([d32817b](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d32817b1dc05971f680d1203cdec927ae3714ca9))
13
+ * **release:** 0.3.52 ([11a1487](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/11a1487b0fe414c742f589323c790ed6daf0b36d))
14
+ * **release:** 0.3.53 ([462f2d0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/462f2d0703bf3d2f67e550c470e7a2c148efbdbb))
15
+ * **release:** 0.3.54 ([6b16cff](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/6b16cff1d635eec4aee009e029d9cba813fbf486))
16
+
17
+
18
+ ### ✨ Features | 新功能
19
+
20
+ * cancel ([f63cd15](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/f63cd1541dac3a592233eb6479012d7869fde91d))
21
+ * map 初始化 ([4793f89](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/4793f89a6565eea9d089038627ca9fb49453c856))
22
+ * 二维码权限 ([93bc3ff](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/93bc3ff12f3b8db6b6a2e50355ce90501b362d86))
23
+ * 修改collapse viewmore hidden 样式 ([d366f1c](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/d366f1c423edb89a59546d2f5803df8d4f77f785))
24
+ * 同步字段 ([b34ceb2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/b34ceb2c7d7bea820c31ebdfd0a98d8971647e09))
25
+ * 新增mapcatch ([cfa54e0](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/cfa54e0fc77933171a5dd2ae49a083f6cb990516))
26
+ * 新增popup safe判断 ([539a081](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/539a08168621193a6435431f5b4277875a50efe0))
27
+ * 比例尺调整 ([835e7c2](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/835e7c23faa7dea09697d9446c8a2ea1afa8bd42))
28
+
5
29
  ### [0.3.54](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.61...v0.3.54) (2025-02-19)
6
30
 
7
31
 
@@ -48,7 +48,7 @@ import { computed, ref } from 'vue'
48
48
  import { LcbActionViewProps } from './types'
49
49
  import { uploadFile } from '../../hooks/useUpload'
50
50
  import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
51
- import { getFinalUrl, onPageScrollSelector } from '../../utils/utils'
51
+ import { getFinalUrl, onPageScrollSelector, getExposed } from '../../utils/utils'
52
52
  import SharePopup from '../lcb-nav/SharePopup/index.vue'
53
53
  import { useTranslate } from '@tplc/wot'
54
54
  const { translate } = useTranslate()
@@ -209,6 +209,10 @@ const onActionClick = async () => {
209
209
  case 141:
210
210
  show.value = true
211
211
  break
212
+ case 241:
213
+ getExposed?.()?.reload?.()
214
+ uni.navigateBack()
215
+ break
212
216
  default:
213
217
  emits('click')
214
218
  break
@@ -13,7 +13,7 @@ export type LcbActionViewProps = {
13
13
  * 13: 退出登录 14: 小程序弹框 16: 小程序锚点 17 网络请求 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
14
14
  * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话
15
15
  * 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页
16
- * 105 查看地图 106 查看地图 141 二维码
16
+ * 105 查看地图 106 查看地图 141 二维码 241 返回并刷新上个页面
17
17
  */
18
18
  jumpType?:
19
19
  | 1
@@ -36,6 +36,7 @@ export type LcbActionViewProps = {
36
36
  | 102
37
37
  | 103
38
38
  | 104
39
+ | 241
39
40
 
40
41
  /** 小程序appid */
41
42
  jumpAppid?: string
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.54",
3
+ "version": "0.3.55",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -12,7 +12,7 @@ export type LcbActionViewProps = {
12
12
  * 13: 退出登录 14: 小程序弹框 16: 小程序锚点 17 网络请求 21: 新窗口跳到页面 22: 切换TAB页 23: 重启进入某页面
13
13
  * 24: 回到上一层 25: 关闭当前页面 26: 关闭当前窗口 30: 拨打电话
14
14
  * 88: 授权手机号 101 用户头像 102 分享 103 意见反馈 104 打开授权设置页
15
- * 105 查看地图 106 查看地图 141 二维码
15
+ * 105 查看地图 106 查看地图 141 二维码 241 返回并刷新上个页面
16
16
  */
17
17
  jumpType?:
18
18
  | 1
@@ -35,6 +35,7 @@ export type LcbActionViewProps = {
35
35
  | 102
36
36
  | 103
37
37
  | 104
38
+ | 241
38
39
  /** 小程序appid */
39
40
  jumpAppid?: string
40
41
  /** 手机号 */
package/utils/utils.ts CHANGED
@@ -14,7 +14,7 @@ export function formatJson(str: string | object | undefined, defVal = {}) {
14
14
  export const getExposed = () => {
15
15
  const pages = getCurrentPages()
16
16
  const page = pages[pages.length - 2]
17
- return page.$vm.$.exposed
17
+ return page?.$vm?.$?.exposed
18
18
  }
19
19
 
20
20
  export const getCurrentPage = () => {