mirror of
https://code.lenaisten.de/Lenaisten/advent22.git
synced 2024-11-23 08:13:01 +00:00
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>
|
<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)"
|
||||||
>
|
>
|
||||||
|
|
|
@ -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)" />
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue