From 02bf7838fb54a246f876d0a1700d7dcce161e2b1 Mon Sep 17 00:00:00 2001
From: zhangchunxu <1842059105@qq.com>
Date: 星期六, 05 八月 2023 20:17:02 +0800
Subject: [PATCH] 侧边栏  “营业管理自定义链接”修改

---
 force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js b/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js
index 59e1cc3..edccdf5 100644
--- a/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js
+++ b/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js
@@ -52,8 +52,6 @@
         }).catch(error => {
             console.log("error");
             console.log(error);
-        }).finally(() => {
-            
         });
     }
 
@@ -95,11 +93,11 @@
                     personId:this.personId
                 }
             ).then(result =>{
-                if(result == null){
+                if(result){
+                    this.showToast(result,"error");
+                }else{
                     this.showToast("鎴愬姛","success");
                     this.updateRecordView(this.recordId);
-                }else {
-                    this.showToast(result,"error");
                 }
                 this.Isloading = false;   
                 this.dispatchEvent(new CloseActionScreenEvent());

--
Gitblit v1.9.1