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

不支持 官方的 render 设置吗? #39

Open
dodu2014 opened this issue Nov 20, 2021 · 2 comments
Open

不支持 官方的 render 设置吗? #39

dodu2014 opened this issue Nov 20, 2021 · 2 comments

Comments

@dodu2014
Copy link

setting 设置如下:

setting: {
  data: {
    render: {
      name: function(name, treeNode) {
        return name + treeNode.id
      }
    }
  }
}

却无效

@dodu2014
Copy link
Author

能否升级 ztree 版本, 这个功能v3.5.45+才支持, 我看package.json中设置的是 3.5.44
image

@liuyanan12
Copy link

zTree/zTree_v3#482 在ztree的issue上已经关闭了可以看一下

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

2 participants