diff --git a/frontend/src/components/daily_recipe_detail.vue b/frontend/src/components/daily_recipe_detail.vue index bac9cd3..24dd98a 100644 --- a/frontend/src/components/daily_recipe_detail.vue +++ b/frontend/src/components/daily_recipe_detail.vue @@ -97,7 +97,7 @@ export default { }; }, mounted() { - this.getDailyRecipy(), + this.getDailyRecipe(), axios .get( config.publicPath + '/recipe/recipe/?recipe_type=meat&page_size=500' @@ -119,7 +119,7 @@ export default { .post( config.publicPath + '/recipe/daily-recipe/' + this.$route.params.id ) - .then((response) => (response, this.getDailyRecipy())); + .then((response) => (response, this.getDailyRecipe())); }, submitRecipe() { axios.put( @@ -136,7 +136,7 @@ export default { console.log(this.meat, this.vegetable, this.soup); this.disable_submit = false; }, - getDailyRecipy() { + getDailyRecipe() { axios .get( config.publicPath + '/recipe/daily-recipe/' + this.$route.params.id diff --git a/frontend/src/components/recipe-mobile/week-recipe.vue b/frontend/src/components/recipe-mobile/week-recipe.vue index abb5820..b6b75ee 100644 --- a/frontend/src/components/recipe-mobile/week-recipe.vue +++ b/frontend/src/components/recipe-mobile/week-recipe.vue @@ -5,107 +5,132 @@ pulling-text="下拉重新生成每周菜谱" loosing-text="可以松手了..." > - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +