<template slot-scope="scope" slot="details"> <el-popover trigger="hover" placement="top" > <!-- 客户名称、原数据、更新后数据--> <p>企业名称: {{ scope.row.CnName }}</p> <p>所属人员: {{ scope.row.userName }}</p> <div slot="reference" class="name-wrapper"> <el-tag size="medium" > {{ scope.row.details }} </el-tag> </div> </el-popover> </template>标签:悬浮,表中,scope,table,Avue,row From: https://www.cnblogs.com/zhanzhangDejavaRoad/p/16968488.html