Comments (6)
没看懂,什么页面参数,路由参数吗?
另外截图代码有点少,看一下文档,提供了获取滚动距离和设置滚动距离的api。
from vue-quick-loadmore.
就是我的一个scroll字段是一个bool。。把我截图这一段注释了就不会有问题。。
from vue-quick-loadmore.
var _this = this
setInterval(function () {
if (!_this.scroll) {
return
}
var container = _this.$el.querySelector(".content");
container.scrollTop = container.scrollHeight;
}, 100)
from vue-quick-loadmore.
这样的一段。竟然他会主动的更改我的scroll
from vue-quick-loadmore.
还是不知道你的需求是什么,我的scroll事件是在组件内部监听的,暴露了三个方法,一个是获得滚动距离,一个是设置滚动距离,一个是scroll事件,你这样直接设置scrollTop会和我内部冲突,我内部也使用了这个方法,最好不要这么写,你可以说一下你的需求,我看看怎么实现好。
from vue-quick-loadmore.
我应该知道那里的问题了
from vue-quick-loadmore.
Related Issues (6)
- onscroll 方法失效 HOT 1
- top-method触发条件异常! HOT 3
- garen-loadmore插件在低版本ios系统中会导致白屏 HOT 2
- 引入这个插件后,低版本安卓机白屏 HOT 1
- Can't pull with v-carousel
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-quick-loadmore.