kailong321200875 / vue-element-plus-admin

A backend management system based on vue3, typescript, element-plus, and vite
https://element-plus-admin.cn/
MIT License
2.81k stars 682 forks source link

[Refactor] Manage the button permissions in the menu to support editing and confirm before deleting. #479

Closed lt5227 closed 5 months ago

lt5227 commented 5 months ago

As shown below: image

Originally, it does not support editing permissions. When I need to edit a permission, I have to delete the item and then add a new one. Why can't we edit permissions directly in the rows?

After refactor: image


如下图所示:

image

最初,它不支持编辑权限。当我需要编辑权限时,我必须先删除需要编辑的项目,然后再添加一个新的。为什么我们不能直接在行中编辑权限?

重构后: image