force-app/main/default/lwc/lexTenderingLogicButton/lexTenderingLogicButton.js
@@ -18,7 +18,7 @@ } } //招标项目逻辑删除 connectedCallback(){ init({ recordId: this.recordId @@ -26,14 +26,9 @@ if (result != null) { this.IsLoading = false; this.id = result.Id; this.LogicButton(); window.open (`/apex/TenderDeletePagelwc?id=${this.id}`, '', 'height=350, width=600, top=200, left=350'); this.dispatchEvent(new CloseActionScreenEvent()); } }) } //招标项目逻辑删除 LogicButton(){ window.open (`/apex/TenderDeletePagelwc?id=${this.id}`, '', 'height=350, width=600, top=200, left=350'); }) } }