mint-ui中loadmore使用方法

template



style

.wrapper{
    overflow-y: scroll;
  }

js

import {Toast,Indicator,InfiniteScroll} from 'mint-ui'
mounted() {
      this.$nextTick(function () {
           this.wrapperHeight = document.documentElement.clientHeight - 
           this.$refs.wrapper.getBoundingClientRect().top;
           console.log(this.wrapperHeight)
      })
      this.getDealerList();
      this.getRelocation();

    },


你可能感兴趣的:(mint-ui中loadmore使用方法)