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