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) }