|
|
@@ -21,12 +21,12 @@
|
|
|
fetch ({ store, params }) {
|
|
|
return Promise.all([
|
|
|
store.dispatch('loadBrandDetail', {id: params.code}),
|
|
|
- store.dispatch('brandComponent', {page: 1})
|
|
|
+ store.dispatch('loadBrandComponent', {page: 1})
|
|
|
])
|
|
|
},
|
|
|
methods: {
|
|
|
listenChild: function (parm) {
|
|
|
- this.store.dispatch('brandComponent', {page: parm})
|
|
|
+ this.store.dispatch('loadBrandComponent', {page: parm})
|
|
|
}
|
|
|
}
|
|
|
}
|