霸王餐,满减活动等问题修复
This commit is contained in:
@@ -158,6 +158,9 @@ const groupChanges = (type) => {
|
||||
return;
|
||||
}
|
||||
const item = paymentMethodList.value.find((v) => v.type == type);
|
||||
console.log("groupChanges", item);
|
||||
console.log("props.disablePayType", props.disablePayType);
|
||||
|
||||
if (item && returnDisabled(item)) {
|
||||
uni.showToast({
|
||||
title: "当前支付方式不可用",
|
||||
@@ -170,7 +173,7 @@ const groupChanges = (type) => {
|
||||
// }
|
||||
radiovalue.value = type;
|
||||
let name = paymentMethodName.value[type - 1].name;
|
||||
|
||||
console.log('emit:groupChange',paymentMethodName.value[type - 1]);
|
||||
emits("groupChange", paymentMethodName.value[type - 1]);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user