Commit c15ea08c8cc7e2dc304c95f65faf8db122afb22a
Committed by
GitHub
Merge pull request #2991 from kevinlincg/2.0
Performance Improvements when Table Select
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
src/components/table/table.vue
| ... | ... | @@ -432,6 +432,7 @@ |
| 432 | 432 | for (let i in this.objData) { |
| 433 | 433 | if (parseInt(i) === _index) { |
| 434 | 434 | data = this.objData[i]; |
| 435 | + break; | |
| 435 | 436 | } |
| 436 | 437 | } |
| 437 | 438 | const status = !data._isChecked; |
| ... | ... | @@ -448,6 +449,7 @@ |
| 448 | 449 | for (let i in this.objData) { |
| 449 | 450 | if (parseInt(i) === _index) { |
| 450 | 451 | data = this.objData[i]; |
| 452 | + break; | |
| 451 | 453 | } |
| 452 | 454 | } |
| 453 | 455 | const status = !data._isExpanded; | ... | ... |