Avue 在table表中悬浮显示数据
<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>