force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js
@@ -69,7 +69,7 @@ showToast(msg,type) { const event = new ShowToastEvent({ title: '', // title: '', message: msg, variant: type }); @@ -87,12 +87,15 @@ recordId: this.recordId }).then(result=>{ if(result != '1'){ this.showToast(result,"error"); this.showToast(result,"warning"); return } this.updateRecordView(this.recordId); // this.showToast("提交成功","success"); this.dispatchEvent(new CloseActionScreenEvent()); }) .finally(()=>{ window.location.reload(); }) } }