vue element 分页页面初始请求两次的问题
主要是插件监听值的变化,初始化没彻底
//分页初始化
pageSize:"",
currentPage: 1,
totalResult: '',
pageNum: 1,
<div class="panel footer_list" v-cloak>
<el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" background :current-page="currentPage"
:page-sizes="[50,100, 200, 300, 400]" :page-size="100" layout="total, sizes, prev, pager, next, jumper" :total="totalResult">
</el-pagination>
</div>