Content-Length: 193504 | pFad | http://github.com/wchbrad/vue-easy-tree/issues/54

3B 给vue-easy-tree设置height开启虚拟滚动之后,tree的item不能自适应宽度的,不设置高度,使用el-tree是可以自适应宽度的 · Issue #54 · wchbrad/vue-easy-tree · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

给vue-easy-tree设置height开启虚拟滚动之后,tree的item不能自适应宽度的,不设置高度,使用el-tree是可以自适应宽度的 #54

Open
itheimazzy opened this issue Sep 24, 2024 · 0 comments

Comments

@itheimazzy
Copy link

 <vue-easy-tree :data="data"
                   height="200px"
                   :default-expand-all="false"
                   :show-checkbox='showCheckBox'
                   @check-change="handleCheckChange"
                   :expand-on-click-node="!parentselect"
                   :default-expanded-keys="defaultExpandedKeys"
                   :filter-node-method="filterNode"
                   :render-after-expand="true"
                   :node-key="treeProps.value"
                   :props="treeProps"
                   :style="`min-width: ${treeWidth}`"
                   @node-click="onClickNode"
                   class="select-tree"
                   highlight-current
                   ref="tree">
      <span slot-scope="{ node, data }">
        <span ref="label" v-html="getHighlightHtmlStrByString(node.label)"></span>
      </span>
    </vue-easy-tree>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/wchbrad/vue-easy-tree/issues/54

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy