diff --git a/src/views/CouponManage.vue b/src/views/CouponManage.vue index ca6ec3f..042e612 100644 --- a/src/views/CouponManage.vue +++ b/src/views/CouponManage.vue @@ -6,6 +6,19 @@ 优惠券包 + +
+
+ 领满减 +
+
+ 领折扣 +
+
+ 领抵扣 +
+
+ @@ -17,7 +30,7 @@ import { ElMessage } from 'element-plus' const userStore = useUserStore() -const getCoupon = async () => { +const getCoupon = async (coupon_id) => { try { console.log(userStore) const {data} = await api.get(`/coupon/${userStore.user.id}`,{ @@ -37,7 +50,7 @@ const getCoupon = async () => { } onMounted(() => { - getCoupon() + // getCoupon() })