Permission control of vue background system

there is a school background management system, which needs to determine whether the student login or the teacher administrator login to display different pages. I don"t know how to judge this permission control, that is, there is a lot less content on the teacher-side page than on the student-side page, and the buttons on the page are also different. Is there a recommended case or something like this? welcome to recommend it. Thank you very much.

Jun.10,2021

dynamic routing, using route guards to dynamically generate routing templates, dynamic rendering module


  GitHub  

Menu