去掉悬浮的手册按钮

This commit is contained in:
caishi 2021-04-09 13:58:13 +08:00
parent 7237e42c94
commit 3802182b5c
4 changed files with 3 additions and 6 deletions

View File

@ -70,10 +70,10 @@ export default ({
} }
return ( return (
<React.Fragment> <React.Fragment>
{/* <Menu className="devopsNav" onClick={(e)=>{setNav(e.key)}} selectedKeys={[nav]} mode="horizontal"> <Menu className="devopsNav" onClick={(e)=>{setNav(e.key)}} selectedKeys={[nav]} mode="horizontal">
<Menu.Item key={'0'} value="0">开发流水线</Menu.Item> <Menu.Item key={'0'} value="0">开发流水线</Menu.Item>
<Menu.Item key={'1'} value="1">命令行</Menu.Item> <Menu.Item key={'1'} value="1">命令行</Menu.Item>
</Menu> */} </Menu>
{ {
nav === "0" && nav === "0" &&
<Spin spinning={spining}> <Spin spinning={spining}>

View File

@ -3,6 +3,7 @@ import XmlPanel from "./XmlPanel";
import mediator from "./mediator"; import mediator from "./mediator";
import axios from "axios"; import axios from "axios";
//
// const defaulturl = `http://47.111.130.18:48088`; // const defaulturl = `http://47.111.130.18:48088`;
const defaultValue = { const defaultValue = {
host: "106.75.231.63", host: "106.75.231.63",

View File

@ -6,7 +6,6 @@ import { withRouter } from "react-router";
import { SnackbarHOC } from "educoder"; import { SnackbarHOC } from "educoder";
import { CNotificationHOC } from "../modules/courses/common/CNotificationHOC"; import { CNotificationHOC } from "../modules/courses/common/CNotificationHOC";
import { TPMIndexHOC } from "../modules/tpm/TPMIndexHOC"; import { TPMIndexHOC } from "../modules/tpm/TPMIndexHOC";
import Handbook from './Component/Handbook';
import "./css/index.scss"; import "./css/index.scss";
import Loadable from "react-loadable"; import Loadable from "react-loadable";
@ -35,7 +34,6 @@ class Index extends Component {
render() { render() {
return ( return (
<div className="newMain clearfix"> <div className="newMain clearfix">
<Handbook />
<Switch {...this.props}> <Switch {...this.props}>
<Route <Route
path="/projects/:projectsType/new/:OIdentifier" path="/projects/:projectsType/new/:OIdentifier"

View File

@ -6,7 +6,6 @@ import { withRouter } from "react-router";
import { SnackbarHOC } from "educoder"; import { SnackbarHOC } from "educoder";
import { CNotificationHOC } from "../../modules/courses/common/CNotificationHOC"; import { CNotificationHOC } from "../../modules/courses/common/CNotificationHOC";
import { TPMIndexHOC } from "../../modules/tpm/TPMIndexHOC"; import { TPMIndexHOC } from "../../modules/tpm/TPMIndexHOC";
import Handbook from '../Component/Handbook';
const Infos = Loadable({ const Infos = Loadable({
loader: () => import("./Infos"), loader: () => import("./Infos"),
loading: Loading, loading: Loading,
@ -15,7 +14,6 @@ export default withRouter(
(CNotificationHOC()(SnackbarHOC()(TPMIndexHOC((props)=>{ (CNotificationHOC()(SnackbarHOC()(TPMIndexHOC((props)=>{
return( return(
<div> <div>
<Handbook />
<Switch> <Switch>
<Route <Route
path="/users/:username" path="/users/:username"