leisure-core 1.0.4 → 1.0.6
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-report/src/main.vue +8 -0
- package/package.json +1 -1
package/le-report/src/main.vue
CHANGED
|
@@ -43,6 +43,8 @@
|
|
|
43
43
|
:scroll-y="{ gt: 0 }"
|
|
44
44
|
:show-footer="showSummary && summaryPosition === 'bottom'"
|
|
45
45
|
:footer-method="summaryPosition === 'bottom' ? footerMethod : null"
|
|
46
|
+
:tree-config="treeConfig"
|
|
47
|
+
@toggle-tree-expand="$emit('toggle-expand', $event)"
|
|
46
48
|
>
|
|
47
49
|
<!-- 加载状态插槽 -->
|
|
48
50
|
<template #loading>
|
|
@@ -280,6 +282,11 @@ export default {
|
|
|
280
282
|
type: Array,
|
|
281
283
|
default: () => ["currency", "number", "percent"],
|
|
282
284
|
},
|
|
285
|
+
// 树形配置,传入后 vxe-table 启用树形模式(如 {children:'children'})
|
|
286
|
+
treeConfig: {
|
|
287
|
+
type: Object,
|
|
288
|
+
default: null,
|
|
289
|
+
},
|
|
283
290
|
},
|
|
284
291
|
watch: {
|
|
285
292
|
searchParam: {
|
|
@@ -1622,6 +1629,7 @@ h2 {
|
|
|
1622
1629
|
.query-param-area {
|
|
1623
1630
|
display: -webkit-flex;
|
|
1624
1631
|
display: flex;
|
|
1632
|
+
flex-wrap: wrap;
|
|
1625
1633
|
}
|
|
1626
1634
|
|
|
1627
1635
|
.vxe-loading-mask {
|