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

View file

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

View file

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