mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-09-08 20:04:35 +08:00
fix[tagsView]:fixed visited view move to currentTag
This commit is contained in:
parent
323408f8d9
commit
470bce490a
@ -75,7 +75,7 @@ export default {
|
||||
const tags = this.$refs.tag
|
||||
this.$nextTick(() => {
|
||||
for (const tag of tags) {
|
||||
if (tag.to.path === this.$route.path) {
|
||||
if (tag.to === this.$route.fullPath) {
|
||||
this.$refs.scrollPane.moveToTarget(tag.$el)
|
||||
|
||||
// when query is different then update
|
||||
|
Loading…
x
Reference in New Issue
Block a user