fix[TagsView]: fixed toLastView bug (#2634)
							parent
							
								
									b4cdf528ba
								
							
						
					
					
						commit
						197948dc44
					
				| 
						 | 
				
			
			@ -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…
	
		Reference in New Issue