From cd945be638125a2deb8211ba9d26d1bb63cf3f97 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期三, 11 九月 2024 10:25:05 +0800
Subject: [PATCH] 304-小程序-花店-首页搜索 点击按花名店铺切换搜索输入框没有跟着切换 一直显示都是请输入花名

---
 sub_pages/customer/coupon/good-all.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/sub_pages/customer/coupon/good-all.vue b/sub_pages/customer/coupon/good-all.vue
index 55bc7f4..c8803dc 100644
--- a/sub_pages/customer/coupon/good-all.vue
+++ b/sub_pages/customer/coupon/good-all.vue
@@ -158,7 +158,8 @@
 					},
 					{
 						name: '优惠券',
-						api: '/api/v2/coupon/app/activy/list',
+						// api: '/api/v2/coupon/app/activy/list',
+						api: '/api/v2/coupon/point/active/list',
 
 					},
 				],
@@ -193,6 +194,12 @@
 			this.listApi = '/api/customer/point/goods/list'
 			this.getList()
 		},
+		onPullDownRefresh() {
+			//刷新积分和刷新商品
+			this.$store.dispatch('getCurrentInfo');
+			// this.list = []
+			this.refreshList()
+		},
 
 		onReachBottom() {
 			this.getMore()

--
Gitblit v1.9.3