correction si pas de classes par tr

This commit is contained in:
Christophe 2021-10-29 12:19:13 +02:00
parent 91c10c0bee
commit 7e6e4ccea3
2 changed files with 4 additions and 4 deletions

View file

@ -668,7 +668,7 @@ let monTableau = {
</thead>
<tbody>
<tr v-for="l in tableau" :key="l.html.id" :class="selectTr.indexOf(l.html.id) !== -1 ? 'select' : ''" >
<td v-for="(td,name, i) in l.html" :key="'td_'+i" :class="[afficher_crayons(name,l.html.id), name, classes[name], l.classes[name]]" v-html="td" @click="selectLigne(l.html.id,name)">
<td v-for="(td,name, i) in l.html" :key="'td_'+i" :class="[afficher_crayons(name,l.html.id), name, classes[name], l.classes !== undefined ? l.classes[name] : '']" v-html="td" @click="selectLigne(l.html.id,name)">
</td>
</tr>
</tbody>

File diff suppressed because one or more lines are too long