Giter Club home page Giter Club logo

Comments (8)

ThoughtZer avatar ThoughtZer commented on July 28, 2024 1

@yzbgyq这一行前面判断下是否在loading应该能最快达到你的目的

from react-cloud-music.

sanyuan0704 avatar sanyuan0704 commented on July 28, 2024 1

from react-cloud-music.

sanyuan0704 avatar sanyuan0704 commented on July 28, 2024

目前的master代码已经修复

from react-cloud-music.

yzbgyq avatar yzbgyq commented on July 28, 2024

最近我也在做这个,发现你有些地方还需要优化,比如这个下拉分页就有问题,你要给他限制下,当第二页数据没有请求回来之前不让他再去请求
image

from react-cloud-music.

sanyuan0704 avatar sanyuan0704 commented on July 28, 2024

from react-cloud-music.

sanyuan0704 avatar sanyuan0704 commented on July 28, 2024

from react-cloud-music.

yzbgyq avatar yzbgyq commented on July 28, 2024

其实这个下拉分页不能做防抖和节流处理,这个地方一定要确定他下一页数据成功加载之后,下下页的数据才能请求,可以设置一个锁的机制,如果用户网速过慢,他就会一直下拉一直下拉,导致页码重复叠加,数据重复,个人建议哈,不喜勿喷

from react-cloud-music.

bihongbin3027 avatar bihongbin3027 commented on July 28, 2024

@sanyuan0704 歌手页面,选择一个首字母,然后下拉分页,就有问题了,加载的数据没有首字母传参

from react-cloud-music.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.