@tplc/business 0.7.34 → 0.7.35

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,13 @@
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.7.35](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.34...v0.7.35) (2025-12-30)
6
+
7
+
8
+ ### 🐛 Bug Fixes | Bug 修复
9
+
10
+ * Update window information retrieval to use constantsStore for consistent access across components ([92b3a70](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/commit/92b3a7025a82fa129646b904a90d3959cc177d26))
11
+
5
12
  ### [0.7.34](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v1.0.21...v0.7.34) (2025-12-30)
6
13
 
7
14
  ### [0.7.33](https://gitlab888.30jia.com.cn/tourism-front/zero-code-pro/compare/v0.7.31...v0.7.33) (2025-12-29)
@@ -92,7 +92,6 @@ import { useTranslate } from '@tplc/wot'
92
92
  import { PAGE_PROVIDE_KEY, USER_BASIC_INFO } from '../../constants'
93
93
  import { getTemplateMessageList, TemplateMessage } from '../../api/user'
94
94
  import PayPopup from './components/PayPopup/index.vue'
95
- import { $lcb } from 'index'
96
95
  const { translate } = useTranslate()
97
96
  defineOptions({
98
97
  name: 'LcbActionView',
@@ -219,7 +218,7 @@ const onActionClick = async () => {
219
218
  /** 锚点跳转 */
220
219
  case '16':
221
220
  if (url) {
222
- const windowInfo = $lcb.constantsStore().windowInfo?.value
221
+ const windowInfo = uni.$lcb.constantsStore().windowInfo?.value
223
222
  const navbarHeight = (windowInfo.statusBarHeight || 0) + 44
224
223
  onPageScrollSelector(url, navbarHeight)
225
224
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.7.34",
3
+ "version": "0.7.35",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
package/types/index.d.ts DELETED
@@ -1,7 +0,0 @@
1
- import { LcbGlobal } from './action'
2
- export declare const $lcb: LcbGlobal
3
- export declare const setup: (params: Partial<LcbGlobal>) => void
4
- declare const _default: {
5
- install: (Vue: any) => void
6
- }
7
- export default _default