We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.0.0-rc.1
Mac, Chrome 86, Vue3.0.2
treeData: [ { title: '根目录', key: '', slots: { icon: 'folder' } }, { title: '版本基线', key: '#tags', slots: { icon: 'tags' } }, { title: '收藏', key: '#favorite', slots: { icon: 'heart' } }, { title: '回收站', key: '#deleted', slots: { icon: 'delete' } }, ],
<a-directory-tree :load-data="loadData" :tree-data="treeData" show-icon block-node @select="onSelect" > <template #folder> <FolderOutlined/> </template> <template #tags> <TagsOutlined/> </template> <template #heart> <HeartOutlined/> </template> <template #delete> <DeleteOutlined/> </template> </a-directory-tree>
display customized icons
icon is not customized
The text was updated successfully, but these errors were encountered:
fix: directoryTree custom icon not work #3183
8da63a6
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
tangjinzhou
No branches or pull requests
Version
2.0.0-rc.1
Environment
Mac, Chrome 86, Vue3.0.2
Reproduction link
Steps to reproduce
What is expected?
display customized icons
What is actually happening?
icon is not customized
The text was updated successfully, but these errors were encountered: