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
if (tree.selectedNodes[i] === node) { tree.selectedNodes.splice(i, 1); }
这里对比两个obj有点不妥吧, 可能会存在节点被不小心修改后两个node不一定是同一个的问题,建议改成
if (tree.selectedNodes[i].id === node.id) { tree.selectedNodes.splice(i, 1); }
The text was updated successfully, but these errors were encountered:
目前开来后面的node是从nodeIndex里面来的。 好像暂时还没有遇到这个问题。
Sorry, something went wrong.
No branches or pull requests
这里对比两个obj有点不妥吧, 可能会存在节点被不小心修改后两个node不一定是同一个的问题,建议改成
The text was updated successfully, but these errors were encountered: