From 546a011520f84c2152d893d7ee7439e1b527ad80 Mon Sep 17 00:00:00 2001 From: "waliang.wang" Date: Thu, 27 Jul 2017 21:10:22 +0800 Subject: [PATCH] fix --- client/containers/AddInterface/AddInterface.js | 3 +-- client/containers/AddInterface/AddInterface.scss | 11 ++++++++++- client/containers/AddInterface/MockUrl/MockUrl.js | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/client/containers/AddInterface/AddInterface.js b/client/containers/AddInterface/AddInterface.js index 2d599d27..bf347b93 100644 --- a/client/containers/AddInterface/AddInterface.js +++ b/client/containers/AddInterface/AddInterface.js @@ -31,7 +31,6 @@ const success = () => { @connect( state => { - console.log(state) return { reqParams: state.addInterface.reqParams, resParams: state.addInterface.resParams, @@ -245,7 +244,7 @@ class AddInterface extends Component { const TabPane = Tabs.TabPane const { server_ip } = this.props const { isLoading, isSave, mockJson='', mockURL } = this.state - + return (
diff --git a/client/containers/AddInterface/AddInterface.scss b/client/containers/AddInterface/AddInterface.scss index 005d9e19..c1be5730 100644 --- a/client/containers/AddInterface/AddInterface.scss +++ b/client/containers/AddInterface/AddInterface.scss @@ -209,19 +209,28 @@ clear: both; padding: 10px 0 0 0; margin: 10px 0 0 90px; + zoom: 1; + overflow: hidden; + .title { + float: left; + line-height: 35px; + } p { width: 52.8%; height: 35px; line-height: 35px; border: 1px #DDD solid; display: inline-block; - vertical-align: -4px; margin: 0 10px 0 8px; padding: 0 0 0 10px; + float: left; } .host { margin: 10px 0 0 80px; } + #mock-clipboard { + margin: 3px 0 0 0; + } } .loading { diff --git a/client/containers/AddInterface/MockUrl/MockUrl.js b/client/containers/AddInterface/MockUrl/MockUrl.js index 190f1ed7..7b0edc0c 100644 --- a/client/containers/AddInterface/MockUrl/MockUrl.js +++ b/client/containers/AddInterface/MockUrl/MockUrl.js @@ -38,7 +38,7 @@ class MockUrl extends Component { const { serverIp } = this.props return (
- mock地址 : + mock地址 :

{this.props.mockURL}

请配置host ***.***.***.*** { serverIp }