Commit f45aec8e by 梁建民

js

parent ff0737af
...@@ -120,6 +120,7 @@ const actions = { ...@@ -120,6 +120,7 @@ const actions = {
} else { } else {
state.loading = false; state.loading = false;
state.finished = true;
} }
}).catch(function (err) { }).catch(function (err) {
Toast.clear(); Toast.clear();
......
...@@ -247,7 +247,6 @@ ...@@ -247,7 +247,6 @@
this.sample_class_id = name; this.sample_class_id = name;
this.layer = !this.layer; this.layer = !this.layer;
this.getAggData(name); this.getAggData(name);
}, },
changeTab(name) { changeTab(name) {
this.layer = false; this.layer = false;
...@@ -260,12 +259,9 @@ ...@@ -260,12 +259,9 @@
}, },
onLoad() { onLoad() {
this.p++;
console.log('a')
this.p++;
let params = Object.assign({}, {p: this.p}, {'sample_class_id/eq': this.sample_class_id || this.smaple_class_id}, this.brand_id, this.packing, this.encap, this.attrs, {id: this.id.join(',')}); let params = Object.assign({}, {p: this.p}, {'sample_class_id/eq': this.sample_class_id || this.smaple_class_id}, this.brand_id, this.packing, this.encap, this.attrs, {id: this.id.join(',')});
this.$store.dispatch({ this.$store.dispatch({
type: "ziYingIndex", type: "ziYingIndex",
params: params params: params
......
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