leisure-core 0.6.70 → 0.6.71
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 +8 -1
- package/package.json +1 -1
package/le-list/src/main.vue
CHANGED
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
>
|
|
115
115
|
<slot
|
|
116
116
|
name="expand"
|
|
117
|
-
v-if="showDialog &&
|
|
117
|
+
v-if="showDialog && isDispExpand === 1"
|
|
118
118
|
:rowItem="rowItem"
|
|
119
119
|
></slot>
|
|
120
120
|
<slot name="sub" v-else-if="showDialog" :rowItem="rowItem"></slot>
|
|
@@ -226,6 +226,12 @@ export default {
|
|
|
226
226
|
},
|
|
227
227
|
},
|
|
228
228
|
watch: {
|
|
229
|
+
expand: {
|
|
230
|
+
handler(newVal) {
|
|
231
|
+
this.isDispExpand = newVal;
|
|
232
|
+
},
|
|
233
|
+
immediate: true,
|
|
234
|
+
},
|
|
229
235
|
searchParam: {
|
|
230
236
|
handler(val) {
|
|
231
237
|
this.searchData = Object.assign({}, this.searchData, val);
|
|
@@ -276,6 +282,7 @@ export default {
|
|
|
276
282
|
return {
|
|
277
283
|
rowItem: {},
|
|
278
284
|
rowItems: [],
|
|
285
|
+
isDispExpand: 0, //是否显示扩展插槽 0:不显示 1:显示
|
|
279
286
|
searchData: {
|
|
280
287
|
pageNo: 1,
|
|
281
288
|
total: 1,
|