取消路由重定向
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
Reference in New Issue
Block a user