Commit 48d6bb00 authored by yht15023815643's avatar yht15023815643

标签页带参数处理

parent 0e2f12b4
...@@ -166,7 +166,7 @@ export default { ...@@ -166,7 +166,7 @@ export default {
} }
}, },
isActive(route) { isActive(route) {
return route.path === this.$route.path return route.path.split("?")[0] === this.$route.path
}, },
isAffix(tag) { isAffix(tag) {
return tag.meta && tag.meta.affix return tag.meta && tag.meta.affix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment