data is like this
data () {
return {
username: "",
pw: "",
pw2: ""
}
}
then in a method of methods, is it wrong to deconstruct the assignment like this? this points to the current component. Can"t I print the username to show that it is empty
const {username, pw, pw2} = this