Commit c1e4dced by 姜雷

修改消费数据截取方式

parent fe84fdb4
......@@ -168,8 +168,8 @@ const mutations = {
: [];
let campusList = data.list ? data.list : [];
if (campusList.length > 10) {
let arrStart = campusList.slice(0, 10);
let arrEnd = campusList.slice(10).reduce(
let arrStart = campusList.slice(0, 9);
let arrEnd = campusList.slice(9).reduce(
(item, curentVal) => ({
...item,
count: item.count + curentVal.count,
......
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