@tplc/business 0.4.63 → 0.4.64

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.64](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.78...v0.4.64) (2025-04-07)
6
+
5
7
  ### [0.4.63](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.4.62...v0.4.63) (2025-04-07)
6
8
 
7
9
 
@@ -55,13 +55,14 @@
55
55
  </template>
56
56
 
57
57
  <script setup lang="ts">
58
- import { computed, ref } from 'vue'
58
+ import { computed, ref, inject, Ref } from 'vue'
59
59
  import { LcbActionViewProps } from './types'
60
60
  import { uploadFile } from '../../hooks/useUpload'
61
61
  import mpHtml from 'mp-html/src/uni-app/components/mp-html/mp-html.vue'
62
62
  import { getFinalUrl, onPageScrollSelector, getExposed } from '../../utils/utils'
63
63
  import SharePopup from '../lcb-nav/SharePopup/index.vue'
64
64
  import { useTranslate } from '@tplc/wot'
65
+ import { PAGE_PROVIDE_KEY, USER_BASIC_INFO } from '../../constants'
65
66
  const { translate } = useTranslate()
66
67
  defineOptions({
67
68
  name: 'LcbActionView',
@@ -72,6 +73,8 @@ defineOptions({
72
73
  },
73
74
  })
74
75
  const props = defineProps<LcbActionViewProps>()
76
+ const basicInfo = inject(USER_BASIC_INFO, {}) as unknown as Ref<Record<string, any>>
77
+ const pageInfo = inject(PAGE_PROVIDE_KEY) as unknown as Ref<Record<string, any>>
75
78
  const showPoster = ref(false)
76
79
  const emits = defineEmits<{
77
80
  (e: 'phone', value: { detail: { errMsg: string; encryptedData: string; iv: string } }): void
@@ -150,7 +153,10 @@ const onActionClick = async () => {
150
153
  phone: '',
151
154
  userName: '',
152
155
  headImgUrl: '',
156
+ loginFlag: false,
153
157
  })
158
+ pageInfo.value = {}
159
+ basicInfo.value = {}
154
160
  }
155
161
  },
156
162
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.4.63",
3
+ "version": "0.4.64",
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.76"
14
+ "@tplc/wot": "0.1.78"
15
15
  },
16
16
  "engines": {
17
17
  "node": ">=18",