| | |
| | | <template #default="scope"> |
| | | <el-button size="small" text type="primary" @click="onOpenMenuDialog('新增')">新增</el-button> |
| | | <el-button size="small" text type="primary" @click="onOpenMenuDialog('修改', scope.row)">修改</el-button> |
| | | <el-button size="small" text type="primary" @click="deleteMenu(scope.row)">删除</el-button> |
| | | <el-button size="small" style="color: red" text type="primary" @click="deleteMenu(scope.row)">删除</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | onMounted(() => { |
| | | getMenuList(); |
| | | getRoleList(); |
| | | console.log(1); |
| | | }); |
| | | return { |
| | | parseRole, |