Layui tree.getChecked() 拿不到Id值
通过审查页面代码发现data-id没有赋值,在渲染tree时,传过来的id属性名必须为id,名字接收的属性为title,改成id后data-id即可如图拿到值
2020-05-29

相关文章:

  • 2021-11-01
  • 2021-08-13
  • 2021-08-28
猜你喜欢
  • 2022-02-01
  • 2021-09-09
  • 2021-06-02
相关资源
相似解决方案