|
|
|
@ -483,7 +483,7 @@ export class editorsDia{
|
|
|
|
|
this.snackBar.open('修改名称时间成功','确定',config); |
|
|
|
|
setTimeout(() => { |
|
|
|
|
this.http.get(`/api/Papers/${this.datas.id}`).subscribe((data:any) => { |
|
|
|
|
if(data.paperDataInfo.length==0){ |
|
|
|
|
if (data.paperDataInfo == null || data.paperDataInfo.length == 0) { |
|
|
|
|
this.http.delete(`/api/Papers/${this.datas.id}`).subscribe((data:any) => { |
|
|
|
|
}) |
|
|
|
|
this.http.post('/api/Papers',params).subscribe(data => { |
|
|
|
|