opti: mock doc

This commit is contained in:
suxiaoxin 2017-09-21 16:55:14 +08:00
parent 8ab02ce797
commit 2f1c6a4651
2 changed files with 2 additions and 2 deletions

View File

@ -136,7 +136,7 @@ class ProjectData extends Component {
<div className="m-panel">
<div className="postman-dataImport">
<div className="dataImportCon">
<div ><h3>数据导入&nbsp;<a target="_blank" rel="noopener noreferrer" href="https://yapi.ymfe.org/data.html" ><Icon type="question-circle-o" /></a></h3></div>
<div ><h3>数据导入&nbsp;<a target="_blank" rel="noopener noreferrer" title="点击查看文档" href="https://yapi.ymfe.org/data.html" ><Icon type="question-circle-o" /></a></h3></div>
<div className="dataImportTile">
<Select placeholder="请选择导入数据的方式" onChange={this.handleImportType}>
{Object.keys(importDataModule).map((name) => {

View File

@ -95,7 +95,7 @@ class AdvMock extends Component {
<Form onSubmit={this.handleSubmit}>
<FormItem
label={<span>是否开启&nbsp;<a target="_blank" rel="noopener noreferrer" title="点击查看文档" href="https://yapi.ymfe.org/adv-mock.html" ><Icon type="question-circle-o" /></a></span>}
label={<span>是否开启&nbsp;<a target="_blank" rel="noopener noreferrer" title="点击查看文档" href="https://yapi.ymfe.org/mock.html#高级Mock" ><Icon type="question-circle-o" /></a></span>}
{...formItemLayout}
>
<Switch checked={this.state.enable} onChange={this.onChange} checkedChildren="开" unCheckedChildren="关" />