guhongwei 5 years ago
parent
commit
36b7113632
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/role/index.vue

+ 1 - 1
src/views/role/index.vue

@@ -60,7 +60,7 @@ export default {
       let res = await this.query();
       console.log(res.data);
       this.$set(this, `list`, res.data);
-        this.$set(this, `total`, res.total);
+      this.$set(this, `total`, res.total);
     },
     toEdit({ data }) {
       console.log('1');