默认提交
Showing
2 changed files
with
2 additions
and
2 deletions
... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
31 | <el-table-column label="微信头像"> | 31 | <el-table-column label="微信头像"> |
32 | <template slot-scope="scope"> | 32 | <template slot-scope="scope"> |
33 | <div class="avatar-wrap"> | 33 | <div class="avatar-wrap"> |
34 | <img class="avatar" :src="scope.row.avatar" alt=""> | 34 | <img v-if="scope.row.avatar" class="avatar" :src="scope.row.avatar" alt=""> |
35 | </div> | 35 | </div> |
36 | </template> | 36 | </template> |
37 | </el-table-column> | 37 | </el-table-column> | ... | ... |
... | @@ -31,7 +31,7 @@ | ... | @@ -31,7 +31,7 @@ |
31 | <el-table-column label="微信头像"> | 31 | <el-table-column label="微信头像"> |
32 | <template slot-scope="scope"> | 32 | <template slot-scope="scope"> |
33 | <div class="avatar-wrap"> | 33 | <div class="avatar-wrap"> |
34 | <img class="avatar" :src="scope.row.avatar" alt=""> | 34 | <img v-if="scope.row.avatar" class="avatar" :src="scope.row.avatar" alt=""> |
35 | </div> | 35 | </div> |
36 | </template> | 36 | </template> |
37 | </el-table-column> | 37 | </el-table-column> | ... | ... |
-
Please register or sign in to post a comment