Commit 87f391ed by 姜雷

修改校区为10名后为其他校区

parent d660e9b0
...@@ -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