From 920f16a391a3a25a7e7f4d90b6cb600d6c6dbd91 Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期四, 13 四月 2023 17:29:22 +0800
Subject: [PATCH] 升级按钮4.13
---
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