<el-table-column prop="capacity" label="操作" min-width="90" align="center">
<template slot-scope="scope">
<el-button @click="printIndex(scope.$index)">查看Index</el-button>
</template>
</el-table-column>

效果图

 

 
posted on 2018-12-06 11:01  辛词儿  阅读(34737)  评论(1编辑  收藏  举报