PanJiaChen / vue-element-admin

:tada: A magical vue admin https://panjiachen.github.io/vue-element-admin
MIT License
87.99k stars 30.47k forks source link

Permalink is unsupported #1988

Open yamelsenih opened 5 years ago

yamelsenih commented 5 years ago

Question(提问)

Hi everyone, I want to add a permalink for get automatically a page and component inside page.

A example of it is here: https://panjiachen.github.io/vue-element-admin/#/tab/index The component Tab can have many nested tabs and I want to select automatically one with a simple change of route, example:

For show by default a tab:

China: https://panjiachen.github.io/vue-element-admin/#/tab/index/1 USA: https://panjiachen.github.io/vue-element-admin/#/tab/index/2 Japan: https://panjiachen.github.io/vue-element-admin/#/tab/index/3 Eurozone: https://panjiachen.github.io/vue-element-admin/#/tab/index/4

The problem is that if I change the route for same component it is opened as new window instead select the same component.

I a user select a tab inside window and it change the route then is created a new window instead change only route from url

Screenshot_20190428-173649

yamelsenih commented 5 years ago

Hi All, any update here?

Best regard

yamelsenih commented 5 years ago

?

PanJiaChen commented 5 years ago

https://github.com/PanJiaChen/vue-element-admin/issues/1739

PanJiaChen commented 5 years ago

https://github.com/PanJiaChen/vue-element-admin/pull/2114