0👍
A method will help you here :
in your example you can do the following :
methods:{
getMoney(cost,count){
return cost*count;
}
}
Source:stackexchange.com
0👍
A method will help you here :
in your example you can do the following :
methods:{
getMoney(cost,count){
return cost*count;
}
}