ElemeFE / ElemeFE/element

[Bug Report] el-table组件当data传入的类型错误,且max-height有值时,整个页面会出现卡死

Open
#22,197 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.15.10

### OS/Browsers version
Google Chrome 102.0.5005.63

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/hzf-666/pen/xxjNKPa

### Steps to reproduce
创建一个el-table组件,data设为{},max-height设为100px,刷新浏览器,整个页面会卡死

### What is Expected?
允许出现data类型错误的情况,不会导致整个页面卡死

### What is actually happening?
整个页面卡死

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.