reloaded 5 years ago
parent
commit
afe15e9034
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/views/otheruser/index.vue

+ 4 - 3
src/views/otheruser/index.vue

@@ -54,10 +54,11 @@ export default {
   },
   computed: {},
   methods: {
-    ...otheruser({ otheruserList: 'query' }),
-    async searchInfo({ skip = 10, limit = 10, ...info } = {}) {
-      const res = await this.otheruserList({ skip, limit, ...info });
+    ...otheruser(['query']),
+    async searchInfo({ skip = 0, limit = 10, ...info } = {}) {
+      const res = await this.query({ skip, limit, ...info });
       console.log(res);
+      this.$set(this, `debtTable`, res.data);
     },
     // 添加
     clickBtn() {