要实现点击查看显示后端返回的字段并以文字渲染到页面上,就要是使用到插槽,下图是要实现的:
<el-table-column label="任职要求" width="100" align="center">
<template slot-scope="scope">
<el-popover placement="bottom" width="300" trigger="click">
<div>
<div class="line">任职要求</div>
<div class="heighth">
工作年限:<sp