可以连续处理onClick方法。
<el-table
:data="items"
>
<el-table-column v-for="header in headers"
:key="header.value"
:prop="header.value"
:label="header.text"
:align="header.align"
:header-align="header.align"
v-bind:sortable="header.sortable"
>
</el-table-column>
<template slot="append">
<infinite-loading
ref="inf"
spinner="waveDots"
@infinite="fetchPage"
>
<span slot="loading">Loading ...</span>
<span slot="no-more">No More Data</span>
<span slot="no-results"> No Results</span>
</infinite-loading>
</template>
</el-table>
“ vue-infinite-loading”:“ ^ 2.4.3”,
“ element-ui”:“ ^ 2.4.11”,
“ vue”:“ ^ 2.5.17”,