修复同一天同一餐别菜名相同合并的情况

This commit is contained in:
huangdeliang
2021-03-26 16:55:55 +08:00
parent 4ce5f3f7da
commit 36384820bb
3 changed files with 85 additions and 81 deletions

View File

@ -229,7 +229,7 @@ export default {
}
recipesDom.style.overflow = "visible";
html2canvans(recipesDom, {
scale: 1.5,
scale: 2,
height: recipesDom.scrollHeight,
}).then((canvas) => {
const { name } = this.healthyData;
@ -244,6 +244,7 @@ export default {
recipesDom.style.overflow = "auto";
this.downloading = false;
this.$message.success("食谱导出成功");
});
});
},