|
@@ -151,7 +151,7 @@
|
|
|
<template #default="scope">
|
|
|
<div class="operations">
|
|
|
<!-- <el-button type="primary" > -->
|
|
|
- <el-button type="primary" size="mini" @click="updateTeacher(scope.row.Id)" style="font-size: 14px;">修改</el-button>
|
|
|
+ <el-button type="primary" size="mini" @click="updateTeacher(scope.row.Id,scope.$index)" style="font-size: 14px;">修改</el-button>
|
|
|
<el-button type="primary" size="mini" style="font-size: 14px;" @click="DeleteS(scope.row)">删除</el-button>
|
|
|
<!-- </el-button> -->
|
|
|
</div>
|