Skip to content
Snippets Groups Projects
Commit 2ec9fe74 authored by Pan's avatar Pan
Browse files

fix:fixed view tags bug

parent dec160fd
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ export default {
methods: {
closeViewTags(view, $event) {
this.$store.dispatch('delVisitedViews', view).then((views) => {
if (this.isActive(view.path)) {
if (this.isActive(view)) {
const latestView = views.slice(-1)[0]
if (latestView) {
this.$router.push(latestView.path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment