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.
- package/package.json +1 -1
- package/src/base-client/components/common/XAddNativeForm/XAddNativeForm.vue +0 -4
- package/src/base-client/components/common/XForm/XFormItem.vue +1530 -1530
- package/src/base-client/components/common/XTable/XTable.vue +2 -1
- package/src/base-client/components/his/XRadio/XRadio.vue +1 -1
- package/src/base-client/components/his/XTitle/XTitle.vue +9 -3
|
@@ -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) {
|