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
已在 nodetoggleicon 和 nodeicon 上试验过:如果 slot 内为纯字符串,那么文件节点正常展开,如果 slot 使用 node 数据,则无法展开,并出现以下 vue 错误:
The text was updated successfully, but these errors were encountered:
<Tree :value="nodes" class="packageFileTree" filterMode="strict" selectionMode="single" :selectionKeys="selectedKey" @update:selectionKeys="$emit('update:selectedKey', $event)"> <!-- 这应该是 primevue 的 bug:使用 node 的数据,导致节点无法展开 --> <!-- primevue 的 bug2:这段注释甚至不能放进 Tree tag 里面,因为会无法显示节点 label --> <!-- <template #nodetoggleicon="{ node: { data: { total } } }"> --> <!-- <span> --> <!-- {{ total }} --> <!-- </span> --> <!-- </template> --> </Tree>
Sorry, something went wrong.
chore: package node 包含计数;尝试在文件树节点上显示总计数失败(来自 primevue 的 bug)
fe34017
ref: #23
fix(fileTree): 含有注释的 Tree slot 无法正确显示节点 label
87c21c9
ref: #23 (comment)
No branches or pull requests
已在 nodetoggleicon 和 nodeicon 上试验过:如果 slot 内为纯字符串,那么文件节点正常展开,如果 slot 使用 node 数据,则无法展开,并出现以下 vue 错误:
The text was updated successfully, but these errors were encountered: