@tplc/business 0.3.62 → 0.3.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.3.63](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.62...v0.3.63) (2025-02-27)
6
+
5
7
  ### [0.3.62](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.1.62...v0.3.62) (2025-02-27)
6
8
 
7
9
 
@@ -15,7 +15,7 @@
15
15
  :safe-area-inset-bottom="position === 'bottom'"
16
16
  closable
17
17
  :position="position"
18
- v-if="[14, 141].includes(props.jumpType || 0)"
18
+ v-if="[14, 141].includes(props.jumpType || 0) && show"
19
19
  :custom-class="position === 'bottom' ? '!rounded-t-20rpx' : '!rounded-20rpx'"
20
20
  >
21
21
  <view
@@ -103,11 +103,19 @@ const getData = async () => {
103
103
  page: getCurrentPage().route,
104
104
  ...props.params,
105
105
  })
106
+
106
107
  data.value = shareConfigList.map((v) => {
108
+ const staticParam = JSON.parse(v.staticParam || '{}')
109
+ // 删除空的属性
110
+ Object.keys(staticParam).forEach((v) => {
111
+ if (!staticParam[v]) {
112
+ delete staticParam[v]
113
+ }
114
+ })
107
115
  return getTemplateValues(v.styleConfig, {
108
116
  coverImg: v.coverImg,
109
117
  ...resets,
110
- ...JSON.parse(v.staticParam || '{}'),
118
+ ...staticParam,
111
119
  backgroundImage: v.backgroundImage,
112
120
  })
113
121
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.62",
3
+ "version": "0.3.63",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],