more backtick strings

This commit is contained in:
Jörn-Michael Miehe 2023-01-24 23:17:10 +00:00
parent f12bcf01b7
commit cba03dfeda
3 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
<ul>
<li
v-for="(step, index) in steps"
:key="'step-' + index"
:key="`step-${index}`"
:class="current_step === index ? 'is-active' : ''"
@click="change_step(index)"
>

View file

@ -10,13 +10,13 @@
<ThouCanvas>
<Rect
v-for="(rect, index) in rectangles"
:key="'rect' + index"
:key="`rect-${index}`"
:rectangle="rect"
@click.left="choose_rect(index)"
/>
<template
v-for="(rect, index) in rectangles_chosen"
:key="'rect_chosen' + index"
:key="`rect_chosen-${index}`"
>
<Rect :rectangle="rect" :focused="true" />
<RectText :rectangle="rect" :text="String(index)" />

View file

@ -10,7 +10,7 @@
>
<Rect
v-for="(rect, index) in rectangles"
:key="'rect' + index"
:key="`rect-${index}`"
:rectangle="rect"
/>
<Rect