forked from Gitlink/forgeplus-react
去掉悬浮的手册按钮
This commit is contained in:
parent
7237e42c94
commit
3802182b5c
|
@ -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}>
|
||||||
|
|
|
@ -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",
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue