THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!

Browse Source

fix[TagsView]: fixed toLastView bug (#2634)

pull/2645/head
花裤衩 GitHub 4 months ago
parent
commit
197948dc44
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/layout/components/TagsView/index.vue

+ 1
- 1
src/layout/components/TagsView/index.vue View File

@@ -155,7 +155,7 @@ export default {
toLastView(visitedViews, view) {
const latestView = visitedViews.slice(-1)[0]
if (latestView) {
this.$router.push(latestView)
this.$router.push(latestView.fullPath)
} else {
// now the default is to redirect to the home page if there is no tags-view,
// you can adjust it according to your needs.


Loading…
Cancel
Save