guhongwei 4 سال پیش
والد
کامیت
e3b49ff06a
1فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده
  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);
         }