修复食谱备注
This commit is contained in:
parent
36384820bb
commit
d75984ed3a
@ -229,7 +229,7 @@ export default {
|
|||||||
}
|
}
|
||||||
recipesDom.style.overflow = "visible";
|
recipesDom.style.overflow = "visible";
|
||||||
html2canvans(recipesDom, {
|
html2canvans(recipesDom, {
|
||||||
scale: 2,
|
scale: 1.5,
|
||||||
height: recipesDom.scrollHeight,
|
height: recipesDom.scrollHeight,
|
||||||
}).then((canvas) => {
|
}).then((canvas) => {
|
||||||
const { name } = this.healthyData;
|
const { name } = this.healthyData;
|
||||||
|
@ -83,7 +83,11 @@ export default {
|
|||||||
obj[cur.type] = [];
|
obj[cur.type] = [];
|
||||||
}
|
}
|
||||||
let tarMenu = cur;
|
let tarMenu = cur;
|
||||||
if (!tarMenu.methods && tarMenu.igdList.length === 1) {
|
if (
|
||||||
|
!tarMenu.methods &&
|
||||||
|
!tarMenu.remark &&
|
||||||
|
tarMenu.igdList.length === 1
|
||||||
|
) {
|
||||||
tarMenu = tarMenu.igdList[0];
|
tarMenu = tarMenu.igdList[0];
|
||||||
tarMenu.cusStr = `${this.cusWeightDict[tarMenu.cusWeight] || ""}${
|
tarMenu.cusStr = `${this.cusWeightDict[tarMenu.cusWeight] || ""}${
|
||||||
this.cusUnitDict[tarMenu.cusUnit] || ""
|
this.cusUnitDict[tarMenu.cusUnit] || ""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user