Commit c7bf69f0 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 023d702f
......@@ -302,12 +302,12 @@
this.closeTrigger();
if (success) {
let rows = data.records;
// let total = data.total;
let total = data.total;
if (!rows) {
rows = data;
// total = data.length;
total = data.length;
}
this.totalCount = 10000;
this.totalCount = total;
if (this.pageNo == DEFAULT_PAGE_NO) {
this.dataList = rows;
} else {
......
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