rename the lastName attribute from setName

This commit is contained in:
Andreas Zweili 2021-01-18 21:00:01 +01:00
parent 2926059c42
commit 595a7183be
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ const app = Vue.createApp({
};
},
methods: {
setName(event, lastName) {
setName(event) {
this.name = event.target.value;
},
add(num) {