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
tree组件中的数据中除了已定义的props,其余参数都会透传到node组件,当做节点dom的一个attribute; 这样有几个问题:
我认为节点上有data-key就可以反查到真实数据,没有必要将所有数据都透传到node节点上。 所以请问这里把attrs透传作为attribute有什么好处或者是特意这样处理的吗?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
基本信息
复现步骤
tree组件中的数据中除了已定义的props,其余参数都会透传到node组件,当做节点dom的一个attribute;
这样有几个问题:
我认为节点上有data-key就可以反查到真实数据,没有必要将所有数据都透传到node节点上。
所以请问这里把attrs透传作为attribute有什么好处或者是特意这样处理的吗?
The text was updated successfully, but these errors were encountered: