ElemeFE / ElemeFE/element

[Bug Report] tree table row-key with 0 value disabled the expand ability

Open
#20,290 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.2

### OS/Browsers version
Windows 10, chrome 86/FF 81

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/yinyihui/pen/dyXMPYX?editable=true%3Dhttps%3A%2F%2Felement.eleme.cn%2F

### Steps to reproduce
change treeData[0].id to 1,it is OK,but change it to 0,the expand ability will be broken.

![图片](https://user-images.githubusercontent.com/13214503/96205464-3778ab00-0f99-11eb-807f-f33e12dcfc5d.png)

### What is Expected?
the expand ability is OK

### What is actually happening?
the expand ability is broken

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.