Browse Source

修改个人信息

csx 5 years ago
parent
commit
58cfdec81c
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/pages/personal/index.vue

+ 3 - 3
src/pages/personal/index.vue View File

9
                     <router-link to="/EditPersonal">
9
                     <router-link to="/EditPersonal">
10
                         <div class="item">
10
                         <div class="item">
11
                             <div class="tx">
11
                             <div class="tx">
12
-                                <img :src="myinfo.avatar" alt="" v-if="myinfo">
12
+                                <img :src="myinfo.avatar" alt="" v-if="myinfo.avatar != ''">
13
                                 <h2>个人信息</h2>
13
                                 <h2>个人信息</h2>
14
                             </div>
14
                             </div>
15
                             <span class="iconfont">&#xe6f9;</span>
15
                             <span class="iconfont">&#xe6f9;</span>
132
   .information {
132
   .information {
133
     width: 100%;
133
     width: 100%;
134
     margin: 0 auto;
134
     margin: 0 auto;
135
-    padding-top:63px; 
135
+    padding-top:63px;
136
     min-height: calc(100vh - 2px);
136
     min-height: calc(100vh - 2px);
137
     .name {
137
     .name {
138
       background: #fff;
138
       background: #fff;
173
           border: none;
173
           border: none;
174
         }
174
         }
175
     }
175
     }
176
-     
176
+
177
     .set {
177
     .set {
178
       background: #fff;
178
       background: #fff;
179
       width: 70%;
179
       width: 70%;