The el-table-column display picture can be displayed locally, and it becomes 404 when you put it online.

the picture is main_pic:"/ static/images/biyeqiang.png"; data like this given from the background

< el-table-column label= "Project Picture" >

<template  slot-scope="scope">
    <img :src="scope.row.main_pic" width="100" height="80" alt=""/>
</template>

< / el-table-column >

Mar.06,2021

you need to make sure that / static/images/biyeqiang.png this path exists after packaging. It may be your path configuration. PublicPath is not configured for


Open the chrome debugger, look at the address of the picture request, and then confirm whether the file has ~

on the server. If the

file is available, see if the .png file www server supports output printing.

Menu