amsik / liquor-tree

Tree component based on Vue.js
MIT License
398 stars 95 forks source link

The text node not shown at all #229

Closed AmerQwaider closed 3 years ago

AmerQwaider commented 3 years ago

After debugging found that next code in liquor-tree.esm.js file always execute the next condition and the result will be undefined how can i skip that condition? because if it was not present, the text value will shown on the tree node

if (vm.$scopedSlots.default) {
      return vm.$scopedSlots.default({ node: this.node })
    }