diff --git a/client/components/Postman/Postman.js b/client/components/Postman/Postman.js index 892a4f74..7bc20ebd 100755 --- a/client/components/Postman/Postman.js +++ b/client/components/Postman/Postman.js @@ -222,9 +222,9 @@ export default class Run extends Component { if(resBody === false){ resBody = bodyOther; }else{ - reqBody = this.handleJson(resBody) + reqBody = this.handleJson(resBody) } - + } this.setState({ loading: true }) @@ -238,7 +238,7 @@ export default class Run extends Component { file: bodyType === 'file' ? 'single-file' : null, timeout: 8240000, //因浏览器限制,超时时间最多为两分钟 success: (res, header, third) => { - console.log('suc', third); + // console.log('suc', third); this.setState({ resStatusCode: third.res.status, resStatusText: third.res.statusText @@ -404,7 +404,7 @@ export default class Run extends Component { bodyForm[index].enable = true; if (bodyForm[index].type === 'file') { bodyForm[index].value = 'file_' + index - } else { + } else { bodyForm[index].value = v } } else if (key === 'enable') { @@ -516,7 +516,7 @@ export default class Run extends Component { }else{ return data; } - return data; + return data; } bindAceEditor = () => { @@ -551,11 +551,11 @@ export default class Run extends Component { }, 0); } - @autobind - fileChange(e, index) { - console.log(e) - console.log(index) - } + // @autobind + // fileChange(e, index) { + // console.log(e) + // console.log(index) + // } @autobind onTestSwitched(checked) { diff --git a/client/containers/Project/Interface/InterfaceCol/InterfaceColMenu.js b/client/containers/Project/Interface/InterfaceCol/InterfaceColMenu.js index ffa0b552..b968b229 100755 --- a/client/containers/Project/Interface/InterfaceCol/InterfaceColMenu.js +++ b/client/containers/Project/Interface/InterfaceCol/InterfaceColMenu.js @@ -180,7 +180,7 @@ export default class InterfaceColMenu extends Component { if (!res.data.errcode) { message.success('删除用例成功'); - // 如果删除当前选中 case,切换路由到集合 + // 如果删除当前选中 case,切换路由到集合 if (+caseId === +that.props.currCaseId) { that.props.history.push('/project/' + params.id + '/interface/col/') } else { @@ -287,8 +287,6 @@ export default class InterfaceColMenu extends Component { // }); // this.props.interfaceColList.caseList = caseList; // } - - return (
diff --git a/doc/styles/theme.css b/doc/styles/theme.css index 91c82bba..ec17024c 100755 --- a/doc/styles/theme.css +++ b/doc/styles/theme.css @@ -71,7 +71,10 @@ body, h1, h2, h3, h4, h5, h6 { text-align: center; font-family: 'Dosis', 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif; } - +.ydoc .ydoc-banner-bg { + background: url(https://ws1.sinaimg.cn/large/006cGJIjly1fl42tf966mj31dr0aqahp.jpg) 0 top repeat-x; + background-color: #232323; +} .ydoc .ydoc-banner-home .home-desc{ padding: 0 1rem .16rem; font-weight: normal; @@ -80,16 +83,41 @@ body, h1, h2, h3, h4, h5, h6 { .logo { align-items: center; padding: 0 .24rem; + display: flex; + justify-content: center; } -.logo .name{ - font-size: 50px +.logo .name { + font-size: 50px; + color: #fff; + margin-left: 16px; + -webkit-font-smoothing: antialiased; +} +.ydoc .ydoc-banner-home { + padding: .6rem 0; +} +.ydoc .ydoc-banner-home .home-desc { + color: #fff; + -webkit-font-smoothing: antialiased; } .svg { animation: spin 5s linear infinite; } - +.ydoc-container { + background-color: #fff; +} +.ydoc-container-content { + box-shadow: none; +} +.ydoc-banner-area h1 { + -webkit-font-smoothing: antialiased; + color: #fff; +} +.ydoc .ydoc-banner-bg .desc { + -webkit-font-smoothing: antialiased; + color: #fff; +} @keyframes spin { @@ -99,4 +127,4 @@ body, h1, h2, h3, h4, h5, h6 { to { transform: rotate(360deg); } -} \ No newline at end of file +} diff --git a/static/doc/adv_mock.html b/static/doc/adv_mock.html index 3649847f..cccad98a 100644 --- a/static/doc/adv_mock.html +++ b/static/doc/adv_mock.html @@ -141,15 +141,15 @@ diff --git a/static/doc/data.html b/static/doc/data.html index 7588eb0a..13760aae 100644 --- a/static/doc/data.html +++ b/static/doc/data.html @@ -157,15 +157,15 @@
  • - Postman 数据导入 + Postman 数据导入
  • - HAR 数据导入 + HAR 数据导入
  • - Swagger 数据导入 + Swagger 数据导入
  • diff --git a/static/doc/devops.html b/static/doc/devops.html index 547ca44e..aaf33bdd 100644 --- a/static/doc/devops.html +++ b/static/doc/devops.html @@ -108,7 +108,7 @@
  • - 配置邮箱 (仅支持 SMTP) + 配置邮箱 (仅支持 SMTP)
  • diff --git a/static/doc/index.html b/static/doc/index.html index 8b9abd37..4756bc07 100644 --- a/static/doc/index.html +++ b/static/doc/index.html @@ -89,7 +89,7 @@ - YAPI
    + YApi

    高效、易用、功能强大的 api 管理平台,旨在为开发、产品、测试人员提供更优雅的接口管理服务。

    diff --git a/static/doc/mock.html b/static/doc/mock.html index a6aaec53..2e916a48 100644 --- a/static/doc/mock.html +++ b/static/doc/mock.html @@ -139,19 +139,19 @@
  • - 定义 mock 数据示例 + 定义 mock 数据示例
  • - YApi-Mock 跟 Mockjs 区别 + YApi-Mock 跟 Mockjs 区别
  • - 如何使用 Mock + 如何使用 Mock
  • - Mock 语法规范 + Mock 语法规范
  • diff --git a/static/doc/plugin-dev.html b/static/doc/plugin-dev.html index ff0d273d..cb10d033 100644 --- a/static/doc/plugin-dev.html +++ b/static/doc/plugin-dev.html @@ -119,7 +119,7 @@
  • - index.js 配置说明 + index.js 配置说明
  • diff --git a/static/doc/plugin-hooks.html b/static/doc/plugin-hooks.html index ade84443..d8732d77 100644 --- a/static/doc/plugin-hooks.html +++ b/static/doc/plugin-hooks.html @@ -117,11 +117,11 @@ diff --git a/static/doc/qa.html b/static/doc/qa.html index 39187f1e..30352b4e 100644 --- a/static/doc/qa.html +++ b/static/doc/qa.html @@ -90,25 +90,25 @@
  • - Q1: 怎样联系组长? + Q1: 怎样联系组长?
  • - Q2: 怎么快速迁移旧项目? + Q2: 怎么快速迁移旧项目?
  • - Q3: 忘记密码怎么办? + Q3: 忘记密码怎么办?
  • - 04: 发现了 Bug 怎么办? + 04: 发现了 Bug 怎么办?
  • diff --git a/static/doc/releases.html b/static/doc/releases.html index 07bda1d2..a2b6a239 100644 --- a/static/doc/releases.html +++ b/static/doc/releases.html @@ -109,7 +109,7 @@
  • - Bug Fixed + Bug Fixed
  • @@ -127,7 +127,7 @@
  • - Bug Fixed + Bug Fixed
  • @@ -145,7 +145,7 @@
  • - Bug Fixed + Bug Fixed
  • @@ -187,7 +187,7 @@