vue2-client 1.16.97 → 1.16.99

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.
@@ -870,7 +870,8 @@ export default {
870
870
  if (item.slotType === 'action') {
871
871
  item.fixed = 'right'
872
872
  item.width = 70
873
- } else if (item.slotType === 'fixed') {
873
+ }
874
+ if (item.fixedType) {
874
875
  item.fixed = item.fixedType
875
876
  }
876
877
  // 设置表格宽度
@@ -391,7 +391,7 @@
391
391
  .x-radio-distributed {
392
392
  &.x-radio-container,
393
393
  .x-radio-container {
394
- width: 234px;
394
+ width: 100%;
395
395
  :deep(.x-radio-group) {
396
396
  width: 100%;
397
397
  display: flex;
@@ -25,6 +25,10 @@
25
25
  <a-button type="primary" @click="handleClick">{{ config.label }}</a-button>
26
26
  </div>
27
27
  </div>
28
+ <div
29
+ v-if="isShowBottomLine">
30
+ <hr class="top-line"/>
31
+ </div>
28
32
  </div>
29
33
  </template>
30
34
 
@@ -88,17 +92,19 @@ const wrapperClassObject = computed(() => {
88
92
  })
89
93
  return classes
90
94
  })
91
- // 是否显示顶部功能区
95
+ // 是否显示顶部分割线
92
96
  const isShowTopLine = computed(() => {
93
97
  return attrs.showTopLine === 'true' || attrs.showTopLine === true
94
98
  })
95
-
99
+ // 是否显示底部分割线
100
+ const isShowBottomLine = computed(() => {
101
+ return attrs.showBottomLine === 'true' || attrs.showBottomLine === true
102
+ })
96
103
  const handleClick = () => {
97
104
  if (config.value.clickName) {
98
105
  emit(config.value.clickName)
99
106
  }
100
107
  }
101
-
102
108
  const parseConfig = (data) => {
103
109
  // 如果设置了title属性,直接使用title作为标签
104
110
  if (props.title) {