最终解决方案是:将默认路由放在最下面并添加 `index` 属性 { path: "/", index: true, lazy: () => import("./Page/Home"), }
阅读量:1
点赞量:0