template <leo-tree :data="data" @node-click="nodeClick"></leo-tree> methods nodeClick(e) { console.log('点击的项目', e); }