leisure-core 0.6.67 → 0.6.69
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/le-list/src/main.vue +10 -1
- package/package.json +1 -1
package/le-list/src/main.vue
CHANGED
|
@@ -112,7 +112,12 @@
|
|
|
112
112
|
:showCloseBtnTop="showCloseBtnTop"
|
|
113
113
|
@close="closeDialog"
|
|
114
114
|
>
|
|
115
|
-
<slot
|
|
115
|
+
<slot
|
|
116
|
+
name="expand"
|
|
117
|
+
v-if="showDialog && expand === 1"
|
|
118
|
+
:rowItem="rowItem"
|
|
119
|
+
></slot>
|
|
120
|
+
<slot name="sub" v-else-if="showDialog" :rowItem="rowItem"></slot>
|
|
116
121
|
</le-dialog-container>
|
|
117
122
|
</div>
|
|
118
123
|
</template>
|
|
@@ -123,6 +128,10 @@ export default {
|
|
|
123
128
|
name: "le-list",
|
|
124
129
|
mixins: [leMixins],
|
|
125
130
|
props: {
|
|
131
|
+
expand: {
|
|
132
|
+
type: Number,
|
|
133
|
+
default: 0,
|
|
134
|
+
},
|
|
126
135
|
tableData: {
|
|
127
136
|
type: Array,
|
|
128
137
|
default: () => [],
|