|
@@ -4,6 +4,8 @@ import {
|
|
|
createMemoryHistory,
|
|
createMemoryHistory,
|
|
|
createRouter,
|
|
createRouter,
|
|
|
} from "vue-router";
|
|
} from "vue-router";
|
|
|
|
|
+import Login from "../views/index/Login.vue";
|
|
|
|
|
+import VoyageList from "../views/voyage/voyageList.vue";
|
|
|
|
|
|
|
|
const router = createRouter({
|
|
const router = createRouter({
|
|
|
history: createWebHashHistory(),
|
|
history: createWebHashHistory(),
|
|
@@ -19,7 +21,7 @@ const router = createRouter({
|
|
|
meta: {
|
|
meta: {
|
|
|
title: "登录",
|
|
title: "登录",
|
|
|
},
|
|
},
|
|
|
- component: () => import("../views/index/Login.vue"),
|
|
|
|
|
|
|
+ component: Login,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: "/cargoOwnerManage/cargoOwnerCompanyDetail",
|
|
path: "/cargoOwnerManage/cargoOwnerCompanyDetail",
|
|
@@ -96,7 +98,7 @@ const router = createRouter({
|
|
|
meta: {
|
|
meta: {
|
|
|
title: "航次列表",
|
|
title: "航次列表",
|
|
|
},
|
|
},
|
|
|
- component: () => import("../views/voyage/voyageList.vue"),
|
|
|
|
|
|
|
+ component: VoyageList,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
path: "/agencyList",
|
|
path: "/agencyList",
|