請問回調(diào)函數(shù)的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數(shù)組的每一項todo