Browse Source

重新提交品牌列表页

wangyc 8 năm trước cách đây
mục cha
commit
f9858b46d3
1 tập tin đã thay đổi với 19 bổ sung0 xóa
  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>