You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the back-end management system, traditional enterprises tend to use the mode where the workspace is displayed in the tabs panel. This mode allows users to switch back and forth between view components without switching the state of each view component. Also, when the user clicks on an opened menu, the opened view component is displayed in the tabs panel instead of a new one.
Preferred Solution:
Let the view component be displayed in the tabs panel and be managed by the store. When configuring route.js, configure the display mode of a certain view component through parameters to one of the following two:
Only display one by one: In this case, the user clicks on a menu for the first time to generate a view component and display it in the tabs panel. No matter how many times the menu is clicked, the tabs panel will only be switched to display the existing view component. .
Multiple display options: In this case, every time the user clicks on a certain menu, a new view component corresponding to this menu is generated and added to the tabs panel.
At the same time, it should be noted that when the user clicks on a certain menu, the url in the address bar may need to be modified in time, so that when the user presses F5 to refresh and re-enters, it can remain on this page.
Feature request
Package versions you currently use:
Description:
In the back-end management system, traditional enterprises tend to use the mode where the workspace is displayed in the tabs panel. This mode allows users to switch back and forth between view components without switching the state of each view component. Also, when the user clicks on an opened menu, the opened view component is displayed in the tabs panel instead of a new one.
Preferred Solution:
Let the view component be displayed in the tabs panel and be managed by the store. When configuring route.js, configure the display mode of a certain view component through parameters to one of the following two:
At the same time, it should be noted that when the user clicks on a certain menu, the url in the address bar may need to be modified in time, so that when the user presses F5 to refresh and re-enters, it can remain on this page.
Alternatives:
None
Additional Context:
You can refer to this solution at https://github.com/PanJiaChen/vue-element-admin, which achieves similar functions, but does not provide options for the two ways to open the menu.
The text was updated successfully, but these errors were encountered: