uniapp - image渲染完成但是报错

报错
VM17512:1 Failed to load local image resource /pages/Personal/personal/undefinedpersonal/edit.png
the server responded with a status of 500 (HTTP/1.1 500 Internal Server Error)

解决:添加v-if

<image v-if="imgBase" :src="imgBase + 'personal/edit.png'" class="edit-img" mode="widthFix" />
posted @ 2020-09-29 10:42  gggggggxin  阅读(1719)  评论(0编辑  收藏  举报