Răsfoiți Sursa

选择藏品

panhui 3 ani în urmă
părinte
comite
e665b9d00f
1 a modificat fișierele cu 4 adăugiri și 1 ștergeri
  1. 4 1
      src/views/activity/ChooseProduct.vue

+ 4 - 1
src/views/activity/ChooseProduct.vue

@@ -72,6 +72,7 @@
 </template>
 
 <script>
+import { mapState } from 'vuex';
 import product from '../../mixins/product';
 export default {
     mixins: [product],
@@ -88,6 +89,7 @@ export default {
         };
     },
     computed: {
+        ...mapState(['companyId']),
         canNext() {
             return this.needChoose === 0 || this.chooseIds.length === this.needChoose;
         },
@@ -123,7 +125,8 @@ export default {
                     page: 0,
                     size: 9999,
                     mintActivityId: this.activityId,
-                    refresh
+                    refresh,
+                    companyId: this.companyId
                 })
                 .then(res => {
                     this.list = res.content;