From 3419066d82b93d834b71b7b88a38fa9526e86f8a Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期五, 12 四月 2024 14:34:38 +0800
Subject: [PATCH] 123

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

diff --git a/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js b/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js
index 81c44a0..3c58a8d 100644
--- a/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js
+++ b/force-app/main/default/lwc/lexTenderingAttachmentButton/lexTenderingAttachmentButton.js
@@ -27,8 +27,8 @@
             this.id = result.Id;
             this.AttachmentButton();
             this.dispatchEvent(new CloseActionScreenEvent());
-        }).catch(() => {
-
+        }).catch(error => {
+            console.log("error"+error);
         }).finally(() => {
             
         });        
@@ -47,3 +47,8 @@
         this.dispatchEvent(event);
     }
 }
+
+// var From= function(){
+//     window.open( "/apex/TenderInformationUploadPdf?id={!URLENCODE(Tender_information__c.Id)}");
+//     }
+//     From();
\ No newline at end of file

--
Gitblit v1.9.1