Commit 3477776c by 梁建民

js

parent 74ed4d41
......@@ -26,9 +26,9 @@ const mutations = {
state.ziYingIndex = payload.data;
},
aggs(state, payload) {
console.log(payload)
if (!payload.reset) {
var arr = [];
var obj = Object.keys(payload.data.aggs);
......@@ -54,11 +54,12 @@ const mutations = {
}
}
state.aggs = payload.data;
}else {
} else {
state.aggs = [];
state.aggs = payload.data;
}
......
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 sign in to comment