From 9ccb1022472dee39e905749d65451b1fa499c387 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期五, 12 九月 2025 11:56:49 +0800
Subject: [PATCH] 解决退货无法提交退货单问题
---
pages/cart/coupon/couponCenter.vue | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/pages/cart/coupon/couponCenter.vue b/pages/cart/coupon/couponCenter.vue
index dc45b67..958c482 100644
--- a/pages/cart/coupon/couponCenter.vue
+++ b/pages/cart/coupon/couponCenter.vue
@@ -132,7 +132,8 @@
receiveCoupons(val.id).then((res) => {
if (res.data.code == 200) {
//淇敼鐐瑰嚮鐨勪紭鎯犲嵎褰撳墠鐨勯鍙栫姸鎬�
- val.owned = true;
+ val.owned = res.data.result.owned;
+ console.log(res.data)
uni.showToast({
title: "棰嗗彇鎴愬姛",
icon: "none",
--
Gitblit v1.8.0