mirror of
https://github.com/YMFE/yapi.git
synced 2025-02-23 13:59:28 +08:00
Merge branch 'dev' of gitlab.corp.qunar.com:mfe/yapi into dev-wiki
This commit is contained in:
commit
5223586f5f
@ -191,7 +191,8 @@ class ProjectData extends Component {
|
||||
|
||||
handleImportType = val => {
|
||||
this.setState({
|
||||
curImportType: val
|
||||
curImportType: val,
|
||||
isSwaggerUrl: false
|
||||
});
|
||||
};
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
// 正在编辑
|
||||
|
Loading…
Reference in New Issue
Block a user