添加热量分析图表
This commit is contained in:
		| @@ -517,6 +517,10 @@ const getters = { | ||||
|             obj.fHeat = obj.fWeight * 9; | ||||
|             obj.cWeight += (igd.weight / 100) * igd.carbonRatio; | ||||
|             obj.cHeat = obj.cWeight * 4; | ||||
|             obj[`heat${cur.type}`] += | ||||
|               (igd.weight / 100) * igd.proteinRatio * 4 + | ||||
|               (igd.weight / 100) * igd.fatRatio * 9 + | ||||
|               (igd.weight / 100) * igd.carbonRatio * 4; | ||||
|           }); | ||||
|           return obj; | ||||
|         }, | ||||
| @@ -527,7 +531,13 @@ const getters = { | ||||
|           cWeight: 0, | ||||
|           pHeat: 0, | ||||
|           fHeat: 0, | ||||
|           cHeat: 0 | ||||
|           cHeat: 0, | ||||
|           heat1: 0, | ||||
|           heat2: 0, | ||||
|           heat3: 0, | ||||
|           heat4: 0, | ||||
|           heat5: 0, | ||||
|           heat6: 0, | ||||
|         } | ||||
|       ) | ||||
|     ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user