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

树形下拉组件,树字典组件保存id字段问题 #1091

Closed
yezhq2018 opened this issue Apr 13, 2020 · 1 comment
Closed

树形下拉组件,树字典组件保存id字段问题 #1091

yezhq2018 opened this issue Apr 13, 2020 · 1 comment

Comments

@yezhq2018
Copy link

版本号:

2.1.4

问题描述:

j-tree-select,这个保存的字段可以改为指定的字段,但是,改为id以外的字段时,树形只显示第一级的内容,第二级及以下就不能展开。

截图&代码:

image

友情提示: 未按格式要求发帖,会直接删掉。

@lsqGitHub716
Copy link

这个id对应的就是树形结构的key,树在点击时候,会用这个key当成pid去查询展示下级。所以改成别的字段就查不出来了。如果想改动,需根据表结构来酌情修改

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

No branches or pull requests

3 participants