feat: on affiche le contenu du footer dans v-html pour pour afficher du code html
This commit is contained in:
parent
1285946276
commit
2c637dc538
1 changed files with 2 additions and 2 deletions
|
@ -141,12 +141,12 @@
|
||||||
<tfoot>
|
<tfoot>
|
||||||
<tr v-if="Object.keys(footer_affiche).length">
|
<tr v-if="Object.keys(footer_affiche).length">
|
||||||
<th v-for="(label, head, i) in header" :key="'footerAffiche_' + i" :class="[head, classes[head]]">
|
<th v-for="(label, head, i) in header" :key="'footerAffiche_' + i" :class="[head, classes[head]]">
|
||||||
<div>{{footer_affiche[head]}}</div>
|
<div v-html="footer_affiche[head] ?? ''"></div>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
<tr v-if="Object.keys(footer_total).length">
|
<tr v-if="Object.keys(footer_total).length">
|
||||||
<th v-for="(label, head, i) in header" :key="'footerTotal_' + i" :class="[head, classes[head]]">
|
<th v-for="(label, head, i) in header" :key="'footerTotal_' + i" :class="[head, classes[head]]">
|
||||||
<div>{{footer_total[head]}}</div>
|
<div v-html="footer_total[head] ?? ''"></div>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</tfoot>
|
</tfoot>
|
||||||
|
|
Loading…
Add table
Reference in a new issue