Optimize key value
This commit is contained in:
parent
9318431c88
commit
feada8a462
|
@ -4,7 +4,7 @@
|
||||||
<div
|
<div
|
||||||
class="header-item"
|
class="header-item"
|
||||||
v-for="(headerItem, i) in header"
|
v-for="(headerItem, i) in header"
|
||||||
:key="headerItem + i"
|
:key="`${headerItem}${i}`"
|
||||||
:style="`
|
:style="`
|
||||||
height: ${mergedConfig.headerHeight}px;
|
height: ${mergedConfig.headerHeight}px;
|
||||||
line-height: ${mergedConfig.headerHeight}px;
|
line-height: ${mergedConfig.headerHeight}px;
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
<div
|
<div
|
||||||
class="row-item"
|
class="row-item"
|
||||||
v-for="(row, ri) in rows"
|
v-for="(row, ri) in rows"
|
||||||
:key="row.toString() + row.scroll"
|
:key="`${row.toString()}${row.scroll}`"
|
||||||
:style="`
|
:style="`
|
||||||
height: ${heights[ri]}px;
|
height: ${heights[ri]}px;
|
||||||
line-height: ${heights[ri]}px;
|
line-height: ${heights[ri]}px;
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
<div
|
<div
|
||||||
class="ceil"
|
class="ceil"
|
||||||
v-for="(ceil, ci) in row.ceils"
|
v-for="(ceil, ci) in row.ceils"
|
||||||
:key="ceil + ri + ci"
|
:key="`${ceil}${ri}${ci}`"
|
||||||
:style="`width: ${widths[ci]}px;`"
|
:style="`width: ${widths[ci]}px;`"
|
||||||
:align="aligns[ci]"
|
:align="aligns[ci]"
|
||||||
v-html="ceil"
|
v-html="ceil"
|
||||||
|
|
Loading…
Reference in New Issue