Browse Source

重新提交品牌列表页

wangyc 8 years ago
parent
commit
f9858b46d3
1 changed files with 19 additions and 0 deletions
  1. 19 0
      pages/product/brand/brandList/_initial.vue

+ 19 - 0
pages/product/brand/brandList/_initial.vue

@@ -0,0 +1,19 @@
+<template>
+  <brand-list></brand-list>
+</template>
+
+<script>
+  import { BrandList } from '~components/product'
+
+  export default {
+    name: 'brandListDetail',
+    fetch ({store, route}) {
+      return Promise.all([
+        store.dispatch('product/loadBrands', {'keyword': route.params.initial})
+      ])
+    },
+    components: {
+      BrandList
+    }
+  }
+</script>