buli
2023-05-23 07390e2fcb4adf27c928335bf27ae7939c5a80ad
force-app/main/default/lwc/lexRentalApplyESetRefreshStatus/lexRentalApplyESetRefreshStatus.js
@@ -34,7 +34,6 @@
      }).then(result => {
         this.refreshResult = result;
         
         this.cancelSubmit().then(res=>{
            this.IsLoading=false;
            this.dispatchEvent(new CloseActionScreenEvent());
@@ -50,14 +49,14 @@
   async cancelSubmit(){
      if(this.refreshResult == '1') {
         this.showToast('','状态更新完毕','success');
         this.showToast('','状态更新完毕!','success');
         // alert("状态更新完毕!");
         location.href = "/"+this.recordId; 
               
      } else {
         console.log("result:",this.refreshResult);
         this.showToast('','更新失败,请联系管理员!','warning');
         // alert("更新失败,请联系管理员!");
         this.showToast('','更新失败!'+this.refreshResult,'warning');
         // this.showToast('','更新失败,请联系管理员!','warning');
         
      }