this.genericIngredientData.forEach(element => {
//循环拼接字符串
this.ingredientsKey+=element.key+','
});
//去掉末尾的逗号
this.ingredientsKey = this.ingredientsKey.slice(0,this.ingredientsKey.length-1)
07-25
1021
