Commit 74ed4d41 by 梁建民

js

parent 0e515eef
...@@ -27,7 +27,9 @@ const mutations = { ...@@ -27,7 +27,9 @@ const mutations = {
}, },
aggs(state, payload) { aggs(state, payload) {
if (!payload.resst) { console.log(payload)
if (!payload.reset) {
var arr = []; var arr = [];
var obj = Object.keys(payload.data.aggs); var obj = Object.keys(payload.data.aggs);
...@@ -127,6 +129,7 @@ const actions = { ...@@ -127,6 +129,7 @@ const actions = {
}, },
aggs({commit}, payload) { aggs({commit}, payload) {
Toast.loading({ Toast.loading({
message: '加载中...', message: '加载中...',
forbidClick: true, forbidClick: true,
......
...@@ -279,7 +279,7 @@ ...@@ -279,7 +279,7 @@
}, },
getAggData: function (id) { getAggData: function (id) {
let params = Object.assign({}, {'resst': true, 'sample_class_id/eq': id}); let params = Object.assign({}, {'reset': true, 'sample_class_id/eq': id});
this.$store.dispatch({ this.$store.dispatch({
type: "aggs", type: "aggs",
......
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