|
|
@ -31,7 +31,6 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import ScrollPane from './ScrollPane' |
|
|
|
import ScrollPane from './ScrollPane' |
|
|
|
import path from 'path' |
|
|
|
import path from 'path' |
|
|
|
import Utils from '@/assets/js/util.js'; |
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
components: { ScrollPane }, |
|
|
|
components: { ScrollPane }, |
|
|
|
data() { |
|
|
|
data() { |
|
|
@ -199,7 +198,6 @@ export default { |
|
|
|
toLastView(visitedViews, view) { |
|
|
|
toLastView(visitedViews, view) { |
|
|
|
const latestView = visitedViews.slice(-1)[0] |
|
|
|
const latestView = visitedViews.slice(-1)[0] |
|
|
|
if (latestView) { |
|
|
|
if (latestView) { |
|
|
|
Utils.$emit('test'); |
|
|
|
|
|
|
|
this.$router.push(latestView.fullPath) |
|
|
|
this.$router.push(latestView.fullPath) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
// now the default is to redirect to the home page if there is no tags-view, |
|
|
|
// now the default is to redirect to the home page if there is no tags-view, |
|
|
|