force-app/main/default/lwc/lexCancelSelect/lexCancelSelect.js
@@ -5,7 +5,7 @@ import { ShowToastEvent } from 'lightning/platformShowToastEvent'; export default class lexCancelSelect extends LightningElement { @api recordId; IsLoading=true; IsLoading=true; id; RentalApplyId; Status; @@ -37,7 +37,7 @@ this.cancelSubmit().then(res=>{ this.IsLoading=false; this.dispatchEvent(new CloseActionScreenEvent()); }); }); } }).catch(err=>{ console.log("error:"); @@ -50,4 +50,4 @@ async cancelSubmit(){ window.open("/apex/EquipmentRentalCancel?raid="+this.RentalApplyId,'cancelSelect','width=500,height=250'); } } }