more backtick strings
This commit is contained in:
parent
f12bcf01b7
commit
cba03dfeda
3 changed files with 4 additions and 4 deletions
|
@ -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)"
|
||||
>
|
||||
|
|
|
@ -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)" />
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
>
|
||||
<Rect
|
||||
v-for="(rect, index) in rectangles"
|
||||
:key="'rect' + index"
|
||||
:key="`rect-${index}`"
|
||||
:rectangle="rect"
|
||||
/>
|
||||
<Rect
|
||||
|
|
Loading…
Reference in a new issue