zhitan-vue/src/components/LeftTree/index.vue
@@ -1,7 +1,7 @@ <template> <div class="tree"> <el-tree :data="nodeOptions" :props="{ label: 'label', children: 'children' }" :expand-on-click-node="false" :filter-node-method="filterNode" ref="nodeTreeRef" node-key="id" highlight-current :filter-node-method="filterNode" ref="nodeTreeRef" node-key="id" highlight-current default-expand-all :default-expanded-keys="defaultExpandedKeys" @node-click="nodeClick" accordion> <template #default="{ node, data }"> <span class="item" style="" :title="node.label">