修复优化
This commit is contained in:
@@ -499,8 +499,8 @@ const noteList = ref([
|
||||
// 显示
|
||||
function showDiscountModalHandle() {
|
||||
let item = goodsStore.cartList[goodsStore.cartActiveIndex]
|
||||
if ((item && item.id) && (!item.is_temporary || !item.is_gift)) {
|
||||
// 存在商品并且不能为临时菜
|
||||
if ((item && item.id) && (!item.is_temporary && !item.is_gift)) {
|
||||
// 存在商品并且不能为临时菜或者赠送
|
||||
showDiscountModal.value = true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user