guhongwei %!s(int64=4) %!d(string=hai) anos
pai
achega
e3b49ff06a
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  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);
         }