fix servings reactivity

This commit is contained in:
Chris Scoggins
2022-01-28 07:38:36 -06:00
parent 8d424d668d
commit 85bbcb0010
3 changed files with 39 additions and 47 deletions

View File

@ -106,6 +106,7 @@ export default {
deep: true,
},
servings: function (newVal) {
console.log(newVal)
this.recipe_servings = parseInt(newVal)
},
},