TreeNode: add node class callback function#22797
Open
jiankian wants to merge 5 commits intoElemeFE:devfrom
Open
TreeNode: add node class callback function#22797jiankian wants to merge 5 commits intoElemeFE:devfrom
jiankian wants to merge 5 commits intoElemeFE:devfrom
Conversation
Tree树形组件,新增类似Vue3版本的自定义树形节点class类名回调方法,方便实现自定义的Tree树形组件样式
wangdaodao
reviewed
Jan 15, 2024
| :show-checkbox="showCheckbox" | ||
| :key="getNodeKey(child)" | ||
| :render-content="renderContent" | ||
| :tree-node-class="treeNodeClass" |
Contributor
There was a problem hiding this comment.
tree-node.vue 中的 el-tree-node 标签应该也增加 :tree-node-class="treeNodeClass" 。
Tree树形组件,新增类似Vue3版本的自定义树形节点class类名回调方法,方便实现自定义的Tree树形组件样式
Author
|
请求合并然后更新到官方库中,不然自定义树形结构组件还得自己拷贝一份项目代码处理 |
node-sass版本太老,只支持node v14版本问题 修正老版本node-sass不支持Windows 11环境问题 fix build problems: fix node-sass version to support node v14 - v16, node-sass v4 is just support node v14 fix sass-loader support for node-sass v6 fix node-sass not support Windows 11 Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (83)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tree树形组件,新增类似Vue3版本的自定义树形节点class类名回调方法,方便实现自定义的Tree树形组件样式
Please make sure these boxes are checked before submitting your PR, thank you!
devbranch.