From 67c32f8d0600867b73eb15902798a568f77acd4e Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期四, 13 四月 2023 17:36:49 +0800
Subject: [PATCH] Merge branch 'LEX_dev' of http://47.92.229.245:8089/r/lightningupdate into LEX_dev

---
 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