current position:Home>Vue- different interfaces after different roles log in

Vue- different interfaces after different roles log in

2022-06-24 09:04:20CSDN Q & A

The phenomenon and background of the problem

Debug copied vue When it comes to actual projects , Different roles have different pages. This function is not implemented . The interfaces of different roles are the same .
The following is the technical stack of the project :
1. Use vue+element-ui+vuex+vue-router+axios+echart Framework for front-end development
2. Use nodejs+express+mysql Framework for back-end development
3. Separate front and rear development

img

img

Operation results and error reporting contents

Administrators 、 Student 、 After the teacher logs in, the interface is the same .

My solution ideas and tried methods
What I want to achieve

Different roles log in and jump to different routes

copyright notice
author[CSDN Q & A],Please bring the original link to reprint, thank you.
https://en.cdmana.com/2022/175/202206171610581540.html

Random recommended