guhongwei 4 years ago
parent
commit
e3b49ff06a
1 changed files with 0 additions and 5 deletions
  1. 0 5
      src/views/userCenter/user/index.vue

+ 0 - 5
src/views/userCenter/user/index.vue

@@ -48,11 +48,6 @@ export default {
     async searchInfo() {
       if (this.user.role == '4' || this.user.role == '5' || this.user.role == '7') {
         let res = await this.fetch(this.user.userid);
-        if (this.user.userid) {
-          let res = await this.fetch(this.user.userid);
-        } else {
-          let res = await this.fetch(this.user.uid);
-        }
         if (res.errcode === 0) {
           this.$set(this, `form`, res.data);
         }