框架:vue+ElementUI
如图所示:在表格的最后一列操作处,当鼠标移上去时,要求提示语提示给用户
此处使用到了Element框架的el-table 的一个属性如下:
Table-column Attributes
代码如下:
<el-table>
<el-table-column label="操作" :render-header="renderHeader" align="center">
<template slot-scope="scope">
<el-button v-if="scope.row.operation&#