Explorar o código

Merge branch 'master' of http://git.cc-lotus.info/service-platform/web-live

guhongwei %!s(int64=5) %!d(string=hai) anos
pai
achega
79e6ed95b3
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      src/views/hall/liveList.vue

+ 3 - 3
src/views/hall/liveList.vue

@@ -102,7 +102,7 @@
 <script>
 import page from '@/components/pagination.vue';
 import { mapState, createNamespacedHelpers } from 'vuex';
-const { mapActions: room } = createNamespacedHelpers('dock');
+const { mapActions: dock } = createNamespacedHelpers('dock');
 export default {
   name: 'liveList',
   props: {},
@@ -115,9 +115,9 @@ export default {
     this.search();
   },
   methods: {
-    ...room(['query']),
+    ...dock(['query']),
     async search({ skip = 0, limit = 10 } = { skip: 0, limit: 10 }) {
-      let res = await this.query({ skip, limit, room_status: '1', live_status: '1' });
+      let res = await this.query({ skip, limit, status: '1' });
       if (this.$checkRes(res)) {
         this.$set(this, `liveList`, res.data);
         this.$set(this, `total`, res.total);