From a6a584bddcd4a6688caa2ecea113a1b004f1ada8 Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Sat, 15 Jun 2024 18:41:25 +0800 Subject: [PATCH] add --- pagesOrder/order/order.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pagesOrder/order/order.vue b/pagesOrder/order/order.vue index b1314d0..c4958dc 100644 --- a/pagesOrder/order/order.vue +++ b/pagesOrder/order/order.vue @@ -389,6 +389,7 @@ // 搜索 const searchOn = (ifPullReFresh = false) => { orderList.value[+swiperCurrent.value] = []; + console.log(swiperCurrent.value) where.value[+swiperCurrent.value].page_no = 1; where.value[+swiperCurrent.value].loadend = false; if (swiperCurrent.value == 0) getOrderList(0, '', '', ifPullReFresh); //全部 @@ -434,11 +435,16 @@ }) const triggered = ref(false); + let flag = false const refresherrefresh = (type = 1) => { + if (flag) return + flag = true triggered.value = true; searchOn() + console.log("别恶心我了") setTimeout(() => { triggered.value = false; + flag = false }, 500) }