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  

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea2377-1bbb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea2377-1bbb.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?