src/views/system/department/index.vue
@@ -23,7 +23,7 @@ <template #default="scope"> <el-button size="small" text type="primary" @click="onOpenDeptDialog('新增', '')">新增</el-button> <el-button size="small" text type="primary" @click="onOpenDeptDialog('修改', scope.row)">修改</el-button> <el-button size="small" text type="primary" @click="onTabelRowDel(scope.row)">删除</el-button> <el-button size="small" style="color: red" text type="primary" @click="onTabelRowDel(scope.row)">删除</el-button> </template> </el-table-column> </el-table>