forked from huge/frontEnd/hugeOA

Mr Ke
2020-10-20 b701009667f62901cfd4be9be1f11fe38c630352
提交
2 files modified
2 ■■■ changed files
src/components/common/MenuView/index.jsx 1 ●●●● patch | view | raw | blame | history
src/routeDom/routeDom.jsx 1 ●●●● patch | view | raw | blame | history
src/components/common/MenuView/index.jsx
@@ -21,6 +21,7 @@
    if (!menudata.length) return null;
    const { path, name, parentKey } = find(menudata, pathname);
    console.log('parentKey', parentKey)
    if (name) {
        const index = name.indexOf(' - ');
src/routeDom/routeDom.jsx
@@ -52,7 +52,6 @@
    return (
        <Switch>
            <Route path="/document/create/:id?" component={DocumentEdit} />
            <Route path="/document/detail/:id" component={DocumentDetail} />
            <Route path="/index/workbench/announcement" component={Announcement} />