add
This commit is contained in:
parent
fda0ed3841
commit
a6a584bddc
|
@ -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)
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue