|
@@ -11,7 +11,7 @@ const router = createRouter({
|
|
|
{
|
|
{
|
|
|
path: "/",
|
|
path: "/",
|
|
|
name: "index",
|
|
name: "index",
|
|
|
- component: () => import("../views/index/Index.vue"),
|
|
|
|
|
|
|
+ component: import("../views/index/Index.vue"),
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: "/login",
|
|
path: "/login",
|
|
@@ -19,7 +19,7 @@ const router = createRouter({
|
|
|
meta: {
|
|
meta: {
|
|
|
title: "登录",
|
|
title: "登录",
|
|
|
},
|
|
},
|
|
|
- component: () => import("../views/index/Login.vue"),
|
|
|
|
|
|
|
+ component: import("../views/index/Login.vue"),
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: "/voyage/voyageAdd",
|
|
path: "/voyage/voyageAdd",
|
|
@@ -27,7 +27,7 @@ const router = createRouter({
|
|
|
meta: {
|
|
meta: {
|
|
|
title: "添加航次",
|
|
title: "添加航次",
|
|
|
},
|
|
},
|
|
|
- component: () => import("../views/voyage/voyageAdd.vue"),
|
|
|
|
|
|
|
+ component: import("../views/voyage/voyageAdd.vue"),
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: "/voyage/voyageDetail",
|
|
path: "/voyage/voyageDetail",
|
|
@@ -35,7 +35,7 @@ const router = createRouter({
|
|
|
meta: {
|
|
meta: {
|
|
|
title: "航次详情",
|
|
title: "航次详情",
|
|
|
},
|
|
},
|
|
|
- component: () => import("../views/voyage/voyageDetail.vue"),
|
|
|
|
|
|
|
+ component: import("../views/voyage/voyageDetail.vue"),
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
{
|
|
{
|
|
@@ -44,7 +44,7 @@ const router = createRouter({
|
|
|
meta: {
|
|
meta: {
|
|
|
title: "航次列表",
|
|
title: "航次列表",
|
|
|
},
|
|
},
|
|
|
- component: () => import("../views/voyage/voyageList.vue"),
|
|
|
|
|
|
|
+ component: import("../views/voyage/voyageList.vue"),
|
|
|
},
|
|
},
|
|
|
],
|
|
],
|
|
|
});
|
|
});
|