ElemeFE / ElemeFE/element

[Bug Report] "isEmpty" is wrong in judging the number 0

Open
#18,987 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.0

### OS/Browsers version
window 10 / chrome 77.0.3865.75

### Vue version
3.0.0-alpha.9

### Reproduction Link
https://github.com/ElemeFE/element/blob/dev/src/utils/util.js

### Steps to reproduce
Using cascade to return 0 will cause an error

### What is Expected?
Using cascade to return 0 will not cause an error

### What is actually happening?
Using cascade to return 0 will cause an error

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.