@tplc/business 0.3.4 → 0.3.5

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.5](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.4...v0.3.5) (2025-01-15)
6
+
5
7
  ### [0.3.4](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.3.3...v0.3.4) (2025-01-15)
6
8
 
7
9
  ### [0.3.3](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.90...v0.3.3) (2025-01-15)
@@ -13,7 +13,7 @@
13
13
  </wd-popover>
14
14
  <IconActionView v-bind="item" v-else @refresh="$emit('refresh')" />
15
15
  </block>
16
- <view class="flex-1"></view>
16
+ <view class="flex-1" v-if="iconList?.length"></view>
17
17
  <BtnViews :button-list="buttonList" @refresh="emits('refresh')" :size="size" />
18
18
  </view>
19
19
  <wd-message-box />
@@ -65,10 +65,3 @@ function link({ item }: { item: IPageBtn }) {
65
65
  }
66
66
  }
67
67
  </script>
68
- <style lang="scss" scoped>
69
- .page-btn-view {
70
- :deep(.wd-button.is-medium) {
71
- min-width: auto !important;
72
- }
73
- }
74
- </style>
@@ -21,7 +21,11 @@
21
21
  "
22
22
  class="mt-3"
23
23
  >
24
- <lcb-operation-actions :button-list="modelValue.buttonList" @refresh="emits('refresh')" />
24
+ <lcb-operation-actions
25
+ :size="size"
26
+ :button-list="modelValue.buttonList"
27
+ @refresh="emits('refresh')"
28
+ />
25
29
  </view>
26
30
  </view>
27
31
  </wd-popup>
@@ -39,7 +43,7 @@ const show = ref(false)
39
43
  defineProps<{
40
44
  hiddenDrawdown?: boolean
41
45
  currentLevelFlag?: boolean
42
- size?: PageBtnProps['size']
46
+ size?: 'small' | 'medium' | 'large'
43
47
  }>()
44
48
  const modelValue = defineModel<UserLevelRightsList>()
45
49
  watch(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tplc/business",
3
- "version": "0.3.4",
3
+ "version": "0.3.5",
4
4
  "keywords": [
5
5
  "业务组件"
6
6
  ],
@@ -1,9 +1,8 @@
1
1
  import { UserLevelRightsList } from '../../api'
2
- import type { PageBtnProps } from '../../api'
3
2
  declare let __VLS_typeProps: {
4
3
  hiddenDrawdown?: boolean
5
4
  currentLevelFlag?: boolean
6
- size?: PageBtnProps['size']
5
+ size?: 'small' | 'medium' | 'large'
7
6
  }
8
7
  type __VLS_PublicProps = {
9
8
  modelValue?: UserLevelRightsList