fix: 点击X返回上一个菜单出现的bug
parent
99f261117f
commit
053cb2710b
|
@ -162,7 +162,7 @@ export default {
|
||||||
const index = state.selectIndex - 1 > 0 ? state.selectIndex - 1 : 0
|
const index = state.selectIndex - 1 > 0 ? state.selectIndex - 1 : 0
|
||||||
const latestView = visitedViews[index]
|
const latestView = visitedViews[index]
|
||||||
if (latestView) {
|
if (latestView) {
|
||||||
router.push(latestView.path)
|
router.push(latestView.fullPath)
|
||||||
} else {
|
} else {
|
||||||
router.push('/')
|
router.push('/')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue