fix: 点击X返回上一个菜单出现的bug

gxzq
TangShan_DD 2025-06-06 12:20:42 +08:00
parent 99f261117f
commit 053cb2710b
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ export default {
const index = state.selectIndex - 1 > 0 ? state.selectIndex - 1 : 0
const latestView = visitedViews[index]
if (latestView) {
router.push(latestView.path)
router.push(latestView.fullPath)
} else {
router.push('/')
}