Commit 663029f5 by 姜雷

Merge branch 'develop' into 'test'

修改校区为10名后为其他校区 See merge request !8
parents fde83b97 87f391ed
...@@ -135,9 +135,9 @@ const mutations = { ...@@ -135,9 +135,9 @@ const mutations = {
? data.consumeAfterVos ? data.consumeAfterVos
: []; : [];
let campusList = data.list ? data.list : []; let campusList = data.list ? data.list : [];
if (campusList.length > 2) { if (campusList.length > 10) {
let arrStart = campusList.slice(0, 2); let arrStart = campusList.slice(0, 10);
let arrEnd = campusList.slice(2).reduce( let arrEnd = campusList.slice(10).reduce(
(item, curentVal) => ({ (item, curentVal) => ({
...item, ...item,
count: item.count + curentVal.count, 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