Browse Source

Merge branch 'feature_table' of 101.201.121.115:leo/LAPP_ETL_WEBFRONT into develop

pull/3/head
wangxy 3 years ago
parent
commit
cd00d4c3b6
3 changed files with 12 additions and 0 deletions
  1. BIN
      public/favicon.ico
  2. +6
    -0
      src/router/index.js
  3. +6
    -0
      src/router/routers.js

BIN
public/favicon.ico View File

Before After
Width: 129  |  Height: 129  |  Size: 3.5 KiB

+ 6
- 0
src/router/index.js View File

@ -27,4 +27,10 @@ const router = createRouter({
routes,
});
const defaultTitle = 'ETL列表';
router.beforeEach((to, from, next) => {
document.title = to.meta.title ? to.meta.title : defaultTitle;
next();
});
export default router;

+ 6
- 0
src/router/routers.js View File

@ -4,6 +4,7 @@ const routes = [
path: "/etl",
name: "etl",
title: "ETL列表",
meta: { title: 'ETL列表' },
component: () => import("../views/etl"),
},
{
@ -11,6 +12,7 @@ const routes = [
path: "/record",
name: "record",
title: "ETL记录",
meta: { title: 'ETL记录' },
component: () => import("../views/record"),
},
{
@ -18,6 +20,7 @@ const routes = [
path: "/etlDB",
name: "etlDB",
title: "ETL数据库",
meta: { title: 'ETL数据库' },
component: () => import("../views/etlDB"),
},
{
@ -25,6 +28,7 @@ const routes = [
path: "/standard",
name: "standard",
title: "标准定义",
meta: { title: '标准定义' },
component: () => import("../views/standard"),
},
{
@ -32,6 +36,7 @@ const routes = [
path: "/field",
name: "field",
title: "字段列表",
meta: { title: '字段列表' },
component: () => import("../views/field"),
},
{
@ -39,6 +44,7 @@ const routes = [
path: "/oneimport",
name: "oneimport",
title: "一维表导入",
meta: { title: '一维表导入' },
component: () => import("../views/oneimport"),
},
];


Loading…
Cancel
Save