添加回车功能

This commit is contained in:
huangdeliang
2021-03-03 14:36:21 +08:00
parent 7e97f8510f
commit 333f930b8c
2 changed files with 7 additions and 2 deletions

View File

@ -327,9 +327,10 @@ export default {
this.deleteDishes({ num: this.num, id: data.id });
},
handleOnWeightChange(data, weight) {
console.log({ data, weight });
// console.log({ data, weight });
this.updateDishes({
num: this.num,
id: data.id,
dishesId: data.dishesId,
igdId: data.igdId,
weight,