Browse Source

Update post.md

pull/22398/head
enisn 1 year ago
parent
commit
4ff28e0587
No known key found for this signature in database GPG Key ID: A052619F04155D1C
  1. 2
      docs/en/Community-Articles/2025-03-18-Using-Vue-Components/post.md

2
docs/en/Community-Articles/2025-03-18-Using-Vue-Components/post.md

@ -290,6 +290,8 @@ Vue.component('todo-component', {
myTodoApp.todo.addTodoItem(this.newTodo);
this.newTodo = { description: '', isDone: false };
this.todos.push(this.newTodo);
// Preferrable, you can load entire list of todos again.
// this.loadTodos();
},
async loadTodos() {

Loading…
Cancel
Save