From 3802182b5c46cc5ac84110e1f9cf114c65e838ae Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Fri, 9 Apr 2021 13:58:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E6=82=AC=E6=B5=AE=E7=9A=84?= =?UTF-8?q?=E6=89=8B=E5=86=8C=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/forge/DevOps/OpsDetailRightpanel.jsx | 4 ++-- src/forge/DevOps/ssh/Index.jsx | 1 + src/forge/Index.js | 2 -- src/forge/users/Index.jsx | 2 -- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/forge/DevOps/OpsDetailRightpanel.jsx b/src/forge/DevOps/OpsDetailRightpanel.jsx index 93bf370c..76d1239a 100644 --- a/src/forge/DevOps/OpsDetailRightpanel.jsx +++ b/src/forge/DevOps/OpsDetailRightpanel.jsx @@ -70,10 +70,10 @@ export default ({ } return ( - {/* {setNav(e.key)}} selectedKeys={[nav]} mode="horizontal"> + {setNav(e.key)}} selectedKeys={[nav]} mode="horizontal"> 开发流水线 命令行 - */} + { nav === "0" && diff --git a/src/forge/DevOps/ssh/Index.jsx b/src/forge/DevOps/ssh/Index.jsx index 9a896a83..ff48df86 100644 --- a/src/forge/DevOps/ssh/Index.jsx +++ b/src/forge/DevOps/ssh/Index.jsx @@ -3,6 +3,7 @@ import XmlPanel from "./XmlPanel"; import mediator from "./mediator"; import axios from "axios"; +// 本地测试时给予默认的接口地址 // const defaulturl = `http://47.111.130.18:48088`; const defaultValue = { host: "106.75.231.63", diff --git a/src/forge/Index.js b/src/forge/Index.js index f1c97291..e861f4a0 100644 --- a/src/forge/Index.js +++ b/src/forge/Index.js @@ -6,7 +6,6 @@ import { withRouter } from "react-router"; import { SnackbarHOC } from "educoder"; import { CNotificationHOC } from "../modules/courses/common/CNotificationHOC"; import { TPMIndexHOC } from "../modules/tpm/TPMIndexHOC"; -import Handbook from './Component/Handbook'; import "./css/index.scss"; import Loadable from "react-loadable"; @@ -35,7 +34,6 @@ class Index extends Component { render() { return (
- import("./Infos"), loading: Loading, @@ -15,7 +14,6 @@ export default withRouter( (CNotificationHOC()(SnackbarHOC()(TPMIndexHOC((props)=>{ return(
-