As a newcomer to both Vue and Ionic, I am struggling to understand why I keep encountering the TS2339 error.
Any assistance on this issue would be greatly valued.
data() {
return {
owner: "default",
showNewCustomerFields: false,
newCustomerName: "",
};
},
method: {
newCustomer(owner) {
//console.log(owner);
if (owner === "new") {
this.showNewCustomerFields = true;
// console.log(showNewCustomerFields);
} else {
// console.log(showNewCustomerFields);
this.showNewCustomerFields = false;
}
},
},