Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev-wiki

This commit is contained in:
gaoxiaolin.gao 2018-07-18 10:31:18 +08:00
commit 5223586f5f
2 changed files with 5 additions and 2 deletions

View File

@ -191,7 +191,8 @@ class ProjectData extends Component {
handleImportType = val => {
this.setState({
curImportType: val
curImportType: val,
isSwaggerUrl: false
});
};

View File

@ -205,7 +205,9 @@ class wikiController extends baseController {
// socket 结束链接
async endFunc(result) {
await this.Model.upEditUid(result._id, 0);
if(result) {
await this.Model.upEditUid(result._id, 0);
}
}
// 正在编辑