Browse Source

fix: 修复Tree组件如果重新定义fieldNames的title字段后设置actionList失效的问题 (#1778)

Co-authored-by: miaojingu <miaojingu@zclhgroup.com>
pull/1820/head
jenson 5 years ago
committed by GitHub
parent
commit
e3637e7af4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/components/Tree/src/Tree.vue

2
src/components/Tree/src/Tree.vue

@ -381,7 +381,7 @@
) : (
title
);
item.title = (
item[titleField] = (
<span
class={`${bem('title')} pl-2`}
onClick={handleClickNode.bind(null, item[keyField], item[childrenField])}

Loading…
Cancel
Save