Answer the question
In order to leave comments, you need to log in
Why does @click='setAge(this.age - 1)' throw an isNaN error?
@click='setAge(this.age - 1)'
export default class ModalSelectAge extends Vue implements IUser
{
@namespace(USER).Getter
age!: number;
@namespace(USER).Action
setAge!: (age: number) => void;
setAge({commit}, data: number): void {
console.trace({data});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question