取消路由重定向

This commit is contained in:
2021-11-05 17:03:41 +08:00
parent bb81e82cf9
commit 3dc40ea982

View File

@@ -6,16 +6,12 @@ Vue.use(Router);
const router = new Router({ const router = new Router({
mode: "hash", mode: "hash",
routes: [{ routes: [{
path: "/index", path: "/",
name: "index", name: "index",
meta: { index: 1, title: "宁波房屋征收" }, meta: { index: 1, title: "宁波房屋征收" },
component: () => component: () =>
import ("../views") import ("../views")
}, },
{
path: "/",
redirect: "/index"
},
// 选择项目页面 // 选择项目页面
{ {
path: "/project-select", path: "/project-select",