代客下单修复已下单菜品选中时再添加商品,未取消已下单菜品选中

This commit is contained in:
YeMingfei666 2024-08-30 17:07:04 +08:00
parent 16b49e08d2
commit 4748ea46e3
1 changed files with 1 additions and 0 deletions

View File

@ -1321,6 +1321,7 @@ export default {
},
"order.selIndex": function (val, oldval) {
console.log(val);
this.order.old.selIndex=-1
if (val === -1) {
// return (this.order.number = 1);
this.order.cacheNumber = 1;