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 = { const result = {
list: dataSource, data: dataSource,
pagination: {
total: dataSource.length, total: dataSource.length,
pageSize, pageSize,
current: parseInt(params.currentPage, 10) || 1, current: parseInt(params.currentPage, 10) || 1,
},
}; };
return res.json(result); return res.json(result);
} }

Loading…
Cancel
Save