We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
<template> <div> <loadmore :top-method="loadTop" :bottom-method="loadBottom" :bottom-all-loaded="allLoaded" ref="loadmore"> <ul> <li v-for="item in list">{{ item }}</li> </ul> </loadmore> </div> </template> <script type="text/javascript-6"> import loadmore from 'vue-loadmore'; export default { data(){ return { list: [], allLoaded: false } }, components:{ loadmore }, methods:{ loadTop(id){ console.log(1); this.$refs.loadmore.onTopLoaded(); }, loadBottom(id) { this.allLoaded = true;// 若数据已全部获取完毕 this.$refs.loadmore.onBottomLoaded(); } } } </script> <style scoped> </style>
The text was updated successfully, but these errors were encountered:
@Jaction 您好,您解决了吗? 碰到同样的问题
Sorry, something went wrong.
不知道两位是否解决这个问题,我也碰到了
初始化的时候加上这句话 // 引入mint-ui的样式 import 'mint-ui/lib/style.css'
No branches or pull requests
The text was updated successfully, but these errors were encountered: