Skip to content

Commit

Permalink
fix: all todo list change item
Browse files Browse the repository at this point in the history
  • Loading branch information
tonylu110 committed Apr 2, 2024
1 parent 6cd1be2 commit 916fac2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/List/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ function addItem(id: number, text: string) {
ok: false,
}
list.value!.unshift(item)
listAll.value!.unshift(item)
saveItemSet(list.value!)
}
}
Expand Down

0 comments on commit 916fac2

Please sign in to comment.