How does the management system done by vue.js do access control in the simplest way (different users display different menus on the left side of menu)

how does the management system made by 1.vue.js do access control in the simplest way (different users display different menus on the left side of menu)

2. Different users have permissions to delete and modify files

Mar.16,2021

look at the permissions in this project. I think it's quite simple
link description


you can refer to the iview framework iview's official website


left operation menu, and the menu data that can be seen by the user can be obtained from the background. You go directly to the data loop menu and simply understand 0-0
as for file operation permissions, users who set permissions for your button to see this button will ok. Even if you turn on the controller, you will not see the elements that he does not have permission to see.

Menu