@tplc/business 0.2.62 → 0.2.63

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.2.63](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.62...v0.2.63) (2025-01-04)
6
+
5
7
  ### [0.2.62](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.61...v0.2.62) (2025-01-04)
6
8
 
7
9
  ### [0.2.61](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.60...v0.2.61) (2025-01-04)
package/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { LcbGlobal } from './action'
2
-
2
+ import { merge } from 'lodash-es'
3
3
  export const $lcb: LcbGlobal = {
4
4
  navigateTo: (url) => {
5
5
  uni.navigateTo({ url })
@@ -15,11 +15,11 @@ export const $lcb: LcbGlobal = {
15
15
  drawdown: '/pages/drawdown/drawdown',
16
16
  },
17
17
  } as LcbGlobal
18
-
18
+ uni.$lcb = $lcb
19
19
  export const setup = (params: Partial<LcbGlobal>) => {
20
- uni.$lcb = Object.assign($lcb, params)
20
+ merge(uni.$lcb, params)
21
21
  }
22
- uni.$lcb = $lcb
22
+
23
23
  // #ifdef H5
24
24
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
25
25
  // @ts-ignore
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.2.62",
3
+ "version": "0.2.63",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],