<template slot-scope="scope">
<el-button @click="upper_score(scope.$index, scope.row)" type="text">待上分</el-button>
</template>
<template slot-scope="scope">
<el-button @click="upper_score(scope.$index, scope.row)" type="text">待上分</el-button>
</template>
本文转载自:https://www.cnblogs.com/niuben/p/11758852.html