baoshiwei
7 天以前 3c3a1a8f69c48b7ad776794886856c2c380e96d3
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">