guhongwei 3 years ago
parent
commit
61b736915f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/account/adminCenter/users/index.vue

+ 1 - 1
src/views/account/adminCenter/users/index.vue

@@ -49,7 +49,7 @@ export default {
     async search({ skip = 0, limit = this.limit, ...info } = {}) {
       let user = this.user;
       if (this.active == '0') {
-        if (user.role != '0') info.code = 'JLKJQYJD';
+        if (user.role != '0') info.code = this.user.code;
         let res = await this.query({ skip, limit, ...info });
         if (this.$checkRes(res)) {
           this.$set(this, `personalList`, res.data);