|
|
@@ -10,11 +10,13 @@ import Certs from "./components/Certs.vue";
|
|
|
import RemoteSearch from "./components/RemoteSearch.vue";
|
|
|
import RemoteSelect from "./components/RemoteSelect.vue";
|
|
|
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
|
|
|
+import Layout from "./layout/Layout.vue";
|
|
|
|
|
|
const app = createApp(App);
|
|
|
app.use(ElementPlus, {
|
|
|
locale: zhCn,
|
|
|
});
|
|
|
+app.component("Layout", Layout);
|
|
|
app.component("Certs", Certs);
|
|
|
app.component("Uploader", Uploader);
|
|
|
app.component("RemoteSearch", RemoteSearch);
|
|
|
@@ -50,7 +52,7 @@ router.beforeEach(async (to, from, next) => {
|
|
|
});
|
|
|
router.afterEach((to, from) => {
|
|
|
let { title } = to.meta;
|
|
|
- document.title = "数据中心 - " + title;
|
|
|
+ document.title = "船务公司 - " + title;
|
|
|
store.commit("setCurrentMenuItem", to.path);
|
|
|
store.commit("changefirstTitle", title);
|
|
|
});
|