Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.1.0 #406

Open
ensleep opened this issue Oct 21, 2020 · 0 comments
Open

0.1.0 #406

ensleep opened this issue Oct 21, 2020 · 0 comments

Comments

@ensleep
Copy link

ensleep commented Oct 21, 2020

Feature request

Package versions you currently use:

devexteme version:"20.1-stable"
devextreme-vue version:"20.1-stable"

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:

  1. 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. .
  2. 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.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant