Skip to content

树状数据层次化方法CascadingTree会丢弃找不到父节点的数据 #3135

@pankey888

Description

@pankey888

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

以组织机构为例,若用户只能看到某公司的其中一个下属公司及其子部门,那么该下属公司的父节点Id并不为空,但使用CascadingTree进行层次化处理该数据时,会出现整个下属公司及其子部门都被丢弃。如图所示,在示例数据中Navigation two添加ParentId = "1000":
image
其显示结果中将丢弃Navigation two:
image

Expected Behavior

期望将无法找到父节点的数据放在顶级。

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

questionQuestion that needs to be answered

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions