請問回調函數的todo哪里來的?
deletetodo(id){
??????this.todos.splice((this.todos.findIndex((todo)=>{
????????return?todo.id?===id
??????})),1)
????},
deletetodo(id){
??????this.todos.splice((this.todos.findIndex((todo)=>{
????????return?todo.id?===id
??????})),1)
????},
2021-03-16
舉報
2021-03-17
data中的todos數組的每一項todo