删除无用的console
This commit is contained in:
parent
ba32570859
commit
5b598909f7
@ -248,13 +248,11 @@
|
|||||||
},
|
},
|
||||||
// 根据菜单选择的变化,计算总价
|
// 根据菜单选择的变化,计算总价
|
||||||
changeFoods(row) {
|
changeFoods(row) {
|
||||||
console.log("row-->", row);
|
|
||||||
let ret = 0;
|
let ret = 0;
|
||||||
for(let i =0 ; i < row.foods.length; i++) {
|
for(let i =0 ; i < row.foods.length; i++) {
|
||||||
ret += this.foodList[i].price;
|
ret += this.foodList[i].price;
|
||||||
}
|
}
|
||||||
this.weekMenuList[row.id -1 ].price = ret;
|
this.weekMenuList[row.id -1 ].price = ret;
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
// 控制合并列
|
// 控制合并列
|
||||||
@ -289,7 +287,6 @@
|
|||||||
listFood(this.queryParams).then(response => {
|
listFood(this.queryParams).then(response => {
|
||||||
this.foodList = response.rows;
|
this.foodList = response.rows;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
console.log("foods", this.foodList);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user