@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.
@@ -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) || Array.isArray(row.nodeData.children) && !row.nodeData.children.length;
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) {