Commit 91de653d by 梁建民

js

parent bab06934
...@@ -260,13 +260,15 @@ ...@@ -260,13 +260,15 @@
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); 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",
params: params params: params
}); });
}, 2000) }, 500)
}, },
getuserf() { getuserf() {
...@@ -290,7 +292,7 @@ ...@@ -290,7 +292,7 @@
}, },
submit: function () { submit: function () {
let params = Object.assign({}, {'sample_class_id/eq': this.sample_class_id}, this.brand_id, this.packing, this.encap, this.attrs, {id: this.id.join(',')}); let params = Object.assign({}, {'sample_class_id/eq': this.sample_class_id}, this.brand_id, this.packing, this.encap, this.attrs);
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