force-app/main/default/lwc/lexSCSubmit/lexSCSubmit.js
@@ -55,7 +55,6 @@ SCSubmit() { if (this.StatusC != '草案中') { this.ShowToastEvent("已经提交审批", "error") // alert('已经提交审批'); return; } @@ -64,15 +63,16 @@ } updateQISSCReport({ Id: this.Id QId: this.Id }).then(result => { console.log(result); if (result.length > 0) { var split = result.split(", "); alert(split[1]); } else { this.ShowToastEvent("已提交", "success") window.location.reload(); } this.ShowToastEvent("已提交", "success") // alert('已提交!') window.location.reload(); }) }