Browse Source

* 增加元数据管理框架

master
zmh 2 years ago
parent
commit
ef3a9f5eff
  1. 3
      web/client/src/app.js
  2. 2
      web/client/src/layout/containers/layout/breadcrumb.js

3
web/client/src/app.js

@ -4,6 +4,7 @@ import React, { useEffect } from 'react';
import Layout from './layout'; import Layout from './layout';
import Auth from './sections/auth'; import Auth from './sections/auth';
import homePage from './sections/homePage'; import homePage from './sections/homePage';
import MetadataManagement from './sections/metadataManagement';
const App = props => { const App = props => {
const { projectName } = props const { projectName } = props
@ -14,7 +15,7 @@ const App = props => {
return ( return (
<Layout <Layout
title={projectName} title={projectName}
sections={[homePage, Auth,]} sections={[homePage, Auth, MetadataManagement]}
/> />
) )

2
web/client/src/layout/containers/layout/breadcrumb.js

@ -11,7 +11,7 @@ const Breadcrumbs = (props) => {
return ( return (
<Breadcrumb separator="/" style={{ height: 25 }}> <Breadcrumb separator="/" style={{ height: 25 }}>
{ {
breadcrumbs.map((bc, index) => { breadcrumbs.filter(bc => bc.key != '/metadataManagement/latestMetadata/detail').map((bc, index) => {
return ( return (
<Breadcrumb.Item key={index}> <Breadcrumb.Item key={index}>
{ {

Loading…
Cancel
Save