We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf4e97f commit 6f35a42Copy full SHA for 6f35a42
src/components/TodoList.vue
@@ -11,7 +11,7 @@
11
<th>任务</th>
12
</thead>
13
<tbody>
14
- <tr v-for="task in parsedTaskList">
+ <tr v-for="task in parsedTaskList" v-bind:key="task">
15
<td>
16
<span v-if="isDone(task)" style="color:gray;text-decoration:line-through;">{{ task }}</span>
17
<span v-else >{{ task }}</span>
0 commit comments