提交 ca34dbab 编写于 作者: zcdtk's avatar zcdtk

参数修改

上级 c8fd6e63
......@@ -1144,7 +1144,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
this.currentAction = 'saveAndExit';
const response: any = await this.save([arg]);
if (response && response.status === 200) {
this.closeView(response.data);
this.closeView([{ ...response.data }]);
}
return response;
}
......@@ -1162,7 +1162,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
this.currentAction = 'saveAndNew';
const response: any = await this.save([arg]);
if (response && response.status === 200) {
this.ResetData(res);
this.ResetData(response.data);
this.loadDraft({});
}
return response;
......@@ -1180,7 +1180,7 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
let arg: any = { ...data[0] };
const response: any = await this.remove([arg]);
if (response && response.status === 200) {
this.closeView(response.data);
this.closeView([{ ...response.data }]);
}
return response;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册