图片路径

This commit is contained in:
花有清香月有阴
2021-12-24 22:50:09 +08:00
parent 452bb04a40
commit b0b1baef97
5 changed files with 10 additions and 10 deletions

View File

@@ -19,7 +19,7 @@
<div class="card" v-for="(item, i) in data.family" :key="i" @click="toDetailPeople(item)">
<div class="photos">
<img :src="item.photo" alt="" v-if="item.photo" />
<img src="components/img/44.png" alt="" v-else />
<img src="./components/img/44.png" alt="" v-else />
</div>
<div class="right">