Commit bab06934 by 梁建民

js

parent 87bee99f
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
//先获取aggSample的第一个id //先获取aggSample的第一个id
this.$store.dispatch({ this.$store.dispatch({
type: "ziYingIndex", type: "ziYingIndex",
params: {'sample_class_id/eq': val,p:1} params: {'sample_class_id/eq': val,p:this.p}
}); });
} }
} }
...@@ -253,14 +253,14 @@ ...@@ -253,14 +253,14 @@
this.$store.dispatch({ this.$store.dispatch({
type: "ziYingIndex", type: "ziYingIndex",
params: {'sample_class_id/eq': name} params: {'sample_class_id/eq': name,p:this.p}
}); });
}, },
onLoad() { onLoad() {
this.p++; 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);
setTimeout(() => { setTimeout(() => {
this.$store.dispatch({ this.$store.dispatch({
type: "ziYingIndex", type: "ziYingIndex",
......
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