[Vuejs]-Vue view update?

0👍

https://v2.vuejs.org/v2/guide/list.html#key

This default mode is efficient, but only suitable when your list
render output does not rely on child component state or temporary DOM
state (e.g. form input values).

<div v-for="(buildValue, buildKey) in currentConfig" :key="buildKey">
     <li v-for="(value, key) in buildValue" :key="key"
           is="build-item"
           v-bind:buildEventId="buildKey"
           v-bind:buildKey="key"
           v-bind:buildValue="value"
           v-on:remove="remove">
     </li>
</div>

add :key="buildKey" and :key="key" ,Fixed the problem

Leave a comment