ElemeFE / ElemeFE/element

[Bug Report] el-table span-method方法中写自增会出现无限循环

Open
#20,355 1 comment 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.13.2

### OS/Browsers version
win10 chomd版本 84.0.4147.105

### Vue version
2.6.1

### Reproduction Link
https://codepen.io/zym_java/pen/GRqxzJq

### Steps to reproduce
arraySpanMethod({ row, column, rowIndex, columnIndex }){//当前行row、当前列column、当前行号rowIndex、当前列号columnIndex
if(columnIndex==1){
console.log(rowIndex, columnIndex)
this.indexCount = this.indexCount this.indexCount1-1
}
}

### What is Expected?
合并相关的行

### 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.