lrf402788946 5 년 전
부모
커밋
e56f442ed8
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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);