From 739fbcef6897055fe61a349471644a3f4e98512d Mon Sep 17 00:00:00 2001 From: cpf <1105965053@qq.com> Date: Fri, 31 Dec 2021 11:06:45 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/pages/plan/plan.component.ts | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/src/app/pages/plan/plan.component.ts b/src/app/pages/plan/plan.component.ts index 31530b7..0c26628 100644 --- a/src/app/pages/plan/plan.component.ts +++ b/src/app/pages/plan/plan.component.ts @@ -772,20 +772,14 @@ export class PlanComponent implements OnInit { let isDelete = confirm("您确定要删除吗?") if (isDelete) { if (type === 1) { - this.http.delete(`${this.beforeOnePropertyData.getPropertyData().img}`).subscribe(data => { - this.beforeOnePropertyData.getPropertyData().img = "" - this.message.info("删除成功!"); - }) + this.beforeOnePropertyData.getPropertyData().img = "" + this.message.info("删除成功!"); } else if (type === 2) { - this.http.delete(`${this.beforePlanNode.texture}`).subscribe(data => { - this.beforePlanNode.texture = "" - this.message.info("删除成功!"); - }) + this.beforePlanNode.texture = "" + this.message.info("删除成功!"); } else if (type === 3) { - this.http.delete(`${this.beforePlanNode.video}`).subscribe(data => { - this.beforePlanNode.video = "" - this.message.info("删除成功!"); - }) + this.beforePlanNode.video = "" + this.message.info("删除成功!"); } } } From 158e07d92296c0ab11650cb1f8c8eb0a46b9a3df Mon Sep 17 00:00:00 2001 From: liuxianghui <519646741@qq.com> Date: Fri, 31 Dec 2021 11:13:23 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/babylon/tool/babylon-tool.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/babylon/tool/babylon-tool.ts b/src/app/babylon/tool/babylon-tool.ts index 7aee30a..de9b205 100644 --- a/src/app/babylon/tool/babylon-tool.ts +++ b/src/app/babylon/tool/babylon-tool.ts @@ -1,4 +1,3 @@ -import { NumberValueAccessor } from '@angular/forms'; import { AbstractMesh, Animation,