// 404 page must be placed at the end !!!
{ path: '*', redirect: '/404', hidden: true }

404 通配符不能放在静态路由里,需要放到动态路由的最后

Last Updated:
Contributors: haizhiguang