需求:超过4条数据就开始无限循环滚动
在线文档:https://chenxuan1993.gitee.io
使用vue-seamless-scroll组件步骤:
一:安装
npm install vue-seamless-scroll --save
二:在用到的页面引入和注册组件
<script>
import vueSeamlessScroll from "vue-seamless-scroll";
export default {
name: "test-abnormal-dynamics",
components:{
vueSeamlessScroll},
}
<<