From 6ac2e9df968bfdc5ded01fa183994bd7f622d7ee Mon Sep 17 00:00:00 2001
From: zhangchunxu <1842059105@qq.com>
Date: 星期五, 04 八月 2023 13:54:16 +0800
Subject: [PATCH] 提交 经销商管理 侧边栏

---
 force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js b/force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js
index d87684e..4598166 100644
--- a/force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js
+++ b/force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js
@@ -69,7 +69,7 @@
 
      showToast(msg,type) {
       const event = new ShowToastEvent({
-          title: '',
+          // title: '',
           message: msg,
           variant: type
       });
@@ -87,12 +87,15 @@
         recordId: this.recordId
       }).then(result=>{
         if(result != '1'){
-          this.showToast(result,"error");
+          this.showToast(result,"warning");
           return
         }
         this.updateRecordView(this.recordId);
         // this.showToast("鎻愪氦鎴愬姛","success");
         this.dispatchEvent(new CloseActionScreenEvent());
       })
+      .finally(()=>{
+        window.location.reload();
+      })
    }
 }
\ No newline at end of file

--
Gitblit v1.9.1