我想在提交表單后清除輸入框。 這是我的app.component.ts文件: todos: string[]; addTodo(todo) { this.todos.push(todo); return false; }.
確定! 回上一頁