fix: 首页弹窗收货信息优化
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 2m23s
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 2m23s
This commit is contained in:
@@ -222,11 +222,12 @@
|
||||
const showOrderPaymentMethods = (order) => {
|
||||
if (!order?.order_id) return;
|
||||
const packageNames = Array.isArray(order.package_names) ? order.package_names : [];
|
||||
if (String(order.payment_method || '').toLowerCase() === 'wallet') {
|
||||
const paymentMethod = String(order.payment_method || '').trim().toLowerCase();
|
||||
if (paymentMethod === 'wallet') {
|
||||
renewalPopupRef.value?.payOrderDirectly(order.order_id, 'wallet');
|
||||
return;
|
||||
}
|
||||
renewalPopupRef.value?.openOrderPayment(order.order_id, packageNames);
|
||||
renewalPopupRef.value?.openOrderPayment(order.order_id, packageNames, paymentMethod);
|
||||
};
|
||||
|
||||
onShow(() => {
|
||||
|
||||
Reference in New Issue
Block a user