<el-popover placement="right" title="" trigger="hover"> <el-image fit="cover" class="leftpic" :src=" viewDataSouse.imgUrl ? viewDataSouse.imgUrl.split(',')[0] : require('../../images/demoImg.png') " > <div slot="placeholder" class="image-slot"> 加载中<span class="dot">...</span> </div> </el-image> <el-image slot="reference" fit="cover" class="leftpic" :src=" viewDataSouse.imgUrl ? viewDataSouse.imgUrl.split(',')[0] : require('../../images/demoImg.png') " > <div slot="placeholder" class="image-slot"> 加载中<span class="dot">...</span> </div> </el-image> </el-popover>