@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.
@@ -42735,7 +42735,7 @@ function renderCell(h, row) {
42735
42735
  }, [col.$scopedSlots.default ? col.$scopedSlots.default(row) : col.$slots.default || row.data[col.name]])])];
42736
42736
  case 'tree':
42737
42737
  let bottom = col.levelLimit && row.nodeData.level >= parseInt(col.levelLimit) - 1;
42738
- let leaf = bottom || col.leafNode(row) || Array.isArray(row.nodeData.children) && !row.nodeData.children.length;
42738
+ let leaf = bottom || col.leafNode(row) && (!row.nodeData.children || !row.nodeData.children.length);
42739
42739
  row.expandNode = () => {
42740
42740
  !function loop(row) {
42741
42741
  if (row) {