src/views/wrong-list/data-list/index.vue
@@ -44,10 +44,17 @@ align="center" fixed="right" > <template slot-scope="scope"> <el-button type="primary" size="large" @click="checkWrong(scope.row.id)">查看错题</el-button> <template #default="{ row }"> <el-button type="primary" size="small" @click="checkWrong(row.id)" > 查看错题 </el-button> </template> </el-table-column> </el-table> </el-scrollbar> </div>