Code Monkey home page Code Monkey logo

uni-load-refresh's People

Contributors

jamyking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

uni-load-refresh's Issues

常见问题汇总

一、手势上滑加载更多loadMore()系列问题

1. loadMore()无法正常触发

  • 当前页码currentPage、总页码totalPages,需满足currentPage < totalPages,以减少无用功;
  • 请注意下页面内展示的数据条数(尤其是测试的时候)---使其能撑满整个页面;

2. this.$refs.loadRefresh.completed()方法报错

  • 尝试使用 this.$refs.loadRefresh[0].completed();

二、下拉刷新refresh()系列问题

1. 下拉刷新后动画无法停止

  • 下拉刷新触发后,是否存在直接将数据列表清空,比如:this.list = [],再去获取新数据---这样的操作。这样会引起组件内的coverTouchend()方法无法触发,进而导致刷新动画无法结束。

三、其他问题

1. 引入组件后,列表数据无法显示

  • 组件使用了slot插槽,请注意在组件内嵌套数据时使用slot="content-list";

如有更好的解决方案和建议,请不要吝啬键盘 (抱拳)

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.