Commit 11b5ba97 authored by zhangyanni's avatar zhangyanni

tab切换 ?

parent 45dd4f9d
......@@ -395,7 +395,14 @@
if (size) {
this.tableData = this.tableData.concat(data.records);
} else {
this.tableData = data.records;
this.tableData = [];
if(data.records.length>0){
data.records.forEach((item)=>{
this.tableData.push(item);
})
}
}
this.totalPage = data.pages;
if (data.pages < this.page) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment