Browse Source

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

guhongwei 5 years ago
parent
commit
d2409376f7
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/index.vue

+ 2 - 2
src/views/index.vue

@@ -14,7 +14,7 @@
 <script>
 <script>
 import { Bar } from '@antv/g2plot';
 import { Bar } from '@antv/g2plot';
 import { mapState, createNamespacedHelpers } from 'vuex';
 import { mapState, createNamespacedHelpers } from 'vuex';
-const { mapActions: lookuser } = createNamespacedHelpers('lookuser');
+const { mapActions: room } = createNamespacedHelpers('room');
 export default {
 export default {
   name: 'index',
   name: 'index',
   props: {},
   props: {},
@@ -31,7 +31,7 @@ export default {
   //   this.tongji();
   //   this.tongji();
   // },
   // },
   methods: {
   methods: {
-    ...lookuser(['query']),
+    ...room(['query']),
     async search() {
     async search() {
       const data = await this.query();
       const data = await this.query();
       this.$set(this, `roomInfo`, data.data);
       this.$set(this, `roomInfo`, data.data);