Commit 74ed4d41 by 梁建民

js

parent 0e515eef
......@@ -27,7 +27,9 @@ const mutations = {
},
aggs(state, payload) {
if (!payload.resst) {
console.log(payload)
if (!payload.reset) {
var arr = [];
var obj = Object.keys(payload.data.aggs);
......@@ -127,6 +129,7 @@ const actions = {
},
aggs({commit}, payload) {
Toast.loading({
message: '加载中...',
forbidClick: true,
......
......@@ -279,7 +279,7 @@
},
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({
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