force-app/main/default/lwc/lexOSHSubmit/lexOSHSubmit.js
@@ -13,7 +13,7 @@ qisStatus; OSHstaff; OSHstaffEmail; err; @wire(CurrentPageReference) getStateParameters(currentPageReference) { console.log(111); @@ -86,7 +86,13 @@ }).then(result =>{ console.log('result'+result); if (result!='成功') { alert(result); this.err = result; const evt = new ShowToastEvent({ title : '更新失败', message: this.err, variant: 'error' }); this.dispatchEvent(evt); } this.dispatchEvent(new CloseActionScreenEvent()); this.updateRecordView(this.recordId);