修复删除&食谱展示

This commit is contained in:
huangdeliang
2021-03-22 19:44:20 +08:00
parent 6d912988ac
commit c536b20b63
4 changed files with 35 additions and 30 deletions

View File

@ -337,7 +337,8 @@ export default {
}
lastNameHit =
arr[arr.length - 1].name === cur.name &&
arr[arr.length - 1].type === cur.type;
arr[arr.length - 1].type === cur.type
// arr[arr.length - 1].dishesId === cur.dishesId;
if (lastNameHit) {
let namePos = arr.length - 1;
for (let i = namePos; i >= 0; i--) {