@deanwu/vue-component-library 1.3.133 → 1.3.134
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/dist/vue-component-library.common.js +1 -1
- package/dist/vue-component-library.common.js.map +1 -1
- package/dist/vue-component-library.umd.js +1 -1
- package/dist/vue-component-library.umd.js.map +1 -1
- package/dist/vue-component-library.umd.min.js +1 -1
- package/dist/vue-component-library.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -42726,7 +42726,7 @@ function renderCell(h, row) {
|
|
|
42726
42726
|
}, [col.$scopedSlots.default ? col.$scopedSlots.default(row) : col.$slots.default || row.data[col.name]])])];
|
|
42727
42727
|
case 'tree':
|
|
42728
42728
|
let bottom = col.levelLimit && row.nodeData.level >= parseInt(col.levelLimit) - 1;
|
|
42729
|
-
let leaf = bottom || col.leafNode(row)
|
|
42729
|
+
let leaf = bottom || col.leafNode(row) && (!row.nodeData.children || !row.nodeData.children.length);
|
|
42730
42730
|
row.expandNode = () => {
|
|
42731
42731
|
!function loop(row) {
|
|
42732
42732
|
if (row) {
|