Commit 14cfcf3c2f7b38d90b616549895e4fd7b864a537

Authored by Kevin
1 parent 92ba610c

Performance Improvements when Table Selec

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