Vant list pull-up and load multiple pages

when list pulls up and loads, it will trigger several queries. How to solve-sharp-sharp-sharp problem description

Jul.19,2022

do you know more about throttling and shaking? In fact, the principle is to make a tag, change the tag once triggered, this time the result comes back, and then change the mark to trigger

.

_ .throttle

_ .debounce


has it been solved? Did I have the same problem?


   1.html
   ```
    <van-list
        v-model="listLoading"
        :finished="listFinished"
        finished-text=""
        @load="requestOrderList">            
            <ul class="deal-list-out">
                <li v-for="(item,index) in recordArr" :key="index">
                    <div class="left-out">
                        <img :src="fwqImg" alt="">
                        <div class="left-deal-detail">
                            <div class="detail-top">
                                <span>{{item.saName}}</span>
                                <em>{{item.monetary}}</em>
                            </div>
                            <div class="detail-bottom">
                                

:{{item.place}}

:{{item.type}}

</div> </div> </div> <div class="deal-right">

{{item.createDate}}

<button @click="seeDetail(item)"></button> </div> </li> </ul> </van-list> ``` 2.js ``` requestOrderList(){ let params = { pageNum: this.pageNav.curPage, pageSize: this.pageNav.pageSize, type: this.searchParams.type, saId: this.searchParams.saId, boxId: this.searchParams.boxId }; if(this.searchParams.choseTime.length > 0) { params.startDate= this.searchParams.choseTime[0], params.endDate= this.searchParams.choseTime[1] } this.$API.getCashierList(params) .then(res => { let tempData = res.data.data.content; if(tempData.length >0 ){ this.pageNav.curPage += 1; this.recordArr = this.recordArr.concat(tempData); } else { this.listFinished = true; } this.listLoading = false; }) }, ```
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bbab62-30209.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bbab62-30209.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?