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

Tree 节点设置iconify的图标后样式有待优化 #309

Closed
tky753 opened this issue Mar 1, 2021 · 0 comments
Closed

Tree 节点设置iconify的图标后样式有待优化 #309

tky753 opened this issue Mar 1, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@tky753
Copy link

tky753 commented Mar 1, 2021

Subject of the feature

建议加一个demo,展示如何设置tree节点的icon

Problem

Tree 节点设置iconify的图标后,发现两个样式问题

import { Icon } from '/@/components/Icon';
......
treeItem.icon = h(Icon, { icon: 'ic:baseline-calendar-view-month', });
  1. icon偏下
  2. action item 溢出
    image
@anncwb anncwb added the enhancement New feature or request label Mar 1, 2021
@anncwb anncwb closed this as completed in 72b42d7 Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants