buli
2023-05-23 07390e2fcb4adf27c928335bf27ae7939c5a80ad
force-app/main/default/lwc/lexCancelApply/lexCancelApply.js
@@ -37,8 +37,7 @@
           label: 'this is the aria-label value',
           
       }).then(cancel=>{
     //      this.IsLoading=false;
         // this.dispatchEvent(new CloseActionScreenEvent());
          if(cancel) {
             cancelApply({
               taId : this.recordId
@@ -55,6 +54,9 @@
               
            });
          } else {
             this.IsLoading=false;
            this.dispatchEvent(new CloseActionScreenEvent());
          }
          
       });
@@ -65,8 +67,9 @@
   async cancelSubmit(){
      if(this.cancelResult == '1') {
         await this.showToast("",'取消成功',"success"); 
         setTimeout(function(){
         window.location.href = window.location;
         }, 1500 )
      } else {
         console.log("result:",this.cancelResult);
         await this.showToast("",this.cancelResult,"warning");