diff --git a/client/containers/Project/Interface/InterfaceList/Run.js b/client/containers/Project/Interface/InterfaceList/Run.js
index 8f375bf8..0274b313 100644
--- a/client/containers/Project/Interface/InterfaceList/Run.js
+++ b/client/containers/Project/Interface/InterfaceList/Run.js
@@ -29,7 +29,7 @@ const Option = Select.Option;
})
)
@withRouter
-export default class InterfaceTest extends Component {
+export default class Run extends Component {
static propTypes = {
match: PropTypes.object,
@@ -350,52 +350,46 @@ export default class InterfaceTest extends Component {
render () {
- const { interfaceName } = this.props;
const { method, domains, pathname, query, headers, params, currDomain, paramsType } = this.state;
const hasPlugin = this.hasCrossRequestPlugin();
const search = decodeURIComponent(URL.format({query: this.getQueryObj(query)}));
return (
-
- }
- type="warning"
- />
+
+ {
+ hasPlugin ? '' : (
+
+ 温馨提示:当前正在使用接口测试服务,请安装我们为您免费提供的
+ 测试增强插件 [点击获取]!
+
+ }
+ type="warning"
+ />
+ )
}
- {interfaceName}
- {/* url */}
-
-
-
-
-
-
-
-
-
-
+
@@ -493,8 +486,9 @@ export default class InterfaceTest extends Component {
}
-
-
+
+
+
diff --git a/client/containers/Project/Interface/InterfaceList/Run.scss b/client/containers/Project/Interface/InterfaceList/Run.scss
index a5f2179f..2e67ae01 100644
--- a/client/containers/Project/Interface/InterfaceList/Run.scss
+++ b/client/containers/Project/Interface/InterfaceList/Run.scss
@@ -1,7 +1,13 @@
.interface-test {
- .interface-name {
- font-size: 24px;
- margin-bottom: 24px;
+ .has-plugin, .req-part, .resp-part {
+ margin: 8px;
+ }
+ // .interface-name {
+ // font-size: 24px;
+ // margin-bottom: 24px;
+ // }
+ .url {
+ display: flex;
}
.icon-btn {
cursor: pointer;