<el-table-column label="操作" min-width="15%" align="center"> <template slot-scope="scope"> <el-button @click="cleanDel(scope.row,scope.$index)" ></el-button> </template> </el-table-column>
methods: {
cleanDel(itme,i){
alert(itme);
alert(i);
}
}本文为Jsky原创文章,转载无需和我联系,但请注明来自Jsky博客 www.tjin.link
