meixioacomponent 0.9.21 → 0.9.22
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
CHANGED
|
@@ -105,7 +105,12 @@
|
|
|
105
105
|
></oa_pro_table_skeletonVue>
|
|
106
106
|
<span></span>
|
|
107
107
|
</template>
|
|
108
|
-
|
|
108
|
+
<!-- 是否开启展开行-->
|
|
109
|
+
<el-table-column v-if="useExpand" type="expand">
|
|
110
|
+
<template slot-scope="props">
|
|
111
|
+
<slot :scope="props.rows" name="tableExpand"></slot>
|
|
112
|
+
</template>
|
|
113
|
+
</el-table-column>
|
|
109
114
|
<!-- 表格勾选-->
|
|
110
115
|
<el-table-column
|
|
111
116
|
|
|
@@ -457,10 +462,17 @@ export default {
|
|
|
457
462
|
default: true
|
|
458
463
|
},
|
|
459
464
|
|
|
465
|
+
//是否能选择
|
|
460
466
|
canCheck: {
|
|
461
467
|
type: Boolean,
|
|
462
468
|
default: true
|
|
469
|
+
},
|
|
470
|
+
// 是否开启展开行
|
|
471
|
+
useExpand: {
|
|
472
|
+
type: Boolean,
|
|
473
|
+
default: false
|
|
463
474
|
}
|
|
475
|
+
|
|
464
476
|
},
|
|
465
477
|
computed: {
|
|
466
478
|
staticKey() {
|