404后直接跳到首页

This commit is contained in:
RenCheng 2025-04-21 10:39:25 +08:00
parent 3c74876d9f
commit 36808a4a4c

View File

@ -285,7 +285,7 @@ export const asyncRouterMap = [
]
},
{
path: '*', redirect: '/404', hidden: true
path: '*', redirect: '/home/index', hidden: true
}
]