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