Browse Source

mock: update mock

pull/5723/head
chenshuai2144 6 years ago
parent
commit
66ca36deb1
  1. 4
      lambda/mock/index.js

4
lambda/mock/index.js

@ -4036,12 +4036,10 @@
}
const result = {
list: dataSource,
pagination: {
data: dataSource,
total: dataSource.length,
pageSize,
current: parseInt(params.currentPage, 10) || 1,
},
};
return res.json(result);
}

Loading…
Cancel
Save