1 |
- "use strict";const s={data(){return{mescroll:null}},onPullDownRefresh(){this.mescroll&&this.mescroll.onPullDownRefresh()},onPageScroll(l){this.mescroll&&this.mescroll.onPageScroll(l)},onReachBottom(){this.mescroll&&this.mescroll.onReachBottom()},methods:{mescrollInit(l){this.mescroll=l},downCallback(){this.mescroll.optUp.use?this.mescroll.resetUpScroll():setTimeout(()=>{this.mescroll.endSuccess()},500)},upCallback(){setTimeout(()=>{this.mescroll.endErr()},500)}}};exports.MescrollMixin=s;
|