Исправленны ошибки отображения элементов заголовка таблицы

This commit is contained in:
DwCay
2022-10-17 12:20:21 +03:00
parent dc891cafc9
commit c70b0b23db
5 changed files with 6 additions and 12 deletions

View File

@@ -103,7 +103,7 @@ export default {
if (e.target.id === "all") {
this.selectAll = !this.selectAll;
this.marked = this.dataClients.map((el) => el.id);
!this.selectAll ? (this.marked = []) : true;
!this.selectAll && (this.marked = []);
} else {
if (e.target.checked) {
this.marked = [...this.marked, e.target.id];