vue + springboot achieve background page button authority

Thinking

  1. Role associated with the user

  2. The role associated with the menu

  3. Menu button associated with the menu under the

  4. Back button at the rear end of each menu by the front end of a custom event, together with the corresponding event on each button

Typing trouble, or Figure it!

Establish btn.js then introduced in btn.js in main.js

 

 

 Page button to add v-has the = ""

 

 Returned by the backend data format

 

 Prior results page

 

 After a controller

 

 

Background Rights Assignment

 

 

 

 

Lazy roughly this way! The main idea is easy to forget to be stored after

 

Guess you like

Origin www.cnblogs.com/xiaokangk/p/11511721.html