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

feat: tree支持节点行为配置、点击事件、虚拟列表高度、工具栏、操作栏等功能 #11189

Open
wants to merge 5 commits into
base: feat-x
Choose a base branch
from

Conversation

hzh11012
Copy link
Contributor

What

Why

How

Copy link

👍 Thanks for this!
🏷 I have applied any labels matching special text in your issue.

Please review the labels and make any necessary changes.

@github-actions github-actions bot added the feat label Nov 11, 2024

const rendererEvent = await dispatchEvent(
'itemClick',
resolveEventData(this.props, {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

value代表表单项的值,item.value是点击的值,不是表单项的,改成createObject(data, {item})就可以了,如果click这里需要获取表单项的需要改下value的值


const rendererEvent = await dispatchEvent(
'itemClick',
resolveEventData(this.props, {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

同理

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants