|
|
@@ -153,6 +153,8 @@ export default {
|
|
|
calculateNutrientsContent(row.foodId, { unit: row.inInitUnit, quantity: row.inInit }).then(res => {
|
|
|
this.dialogFormVisible = true
|
|
|
this.dialogHtml = res.data
|
|
|
+ }).catch(res => {
|
|
|
+ this.$message.error(res.data.message)
|
|
|
})
|
|
|
// try {
|
|
|
// const nutrientRes = await getNutrientList(row.foodId)
|