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