Open yamelsenih opened 5 years ago
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
Hi All, any update here?
Best regard
?
https://github.com/PanJiaChen/vue-element-admin/issues/1739
https://github.com/PanJiaChen/vue-element-admin/pull/2114
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