From d5d810af942c23a1009857477a545a9a2dc134b5 Mon Sep 17 00:00:00 2001
From: KKbes <1620284052@qq.com>
Date: 星期三, 28 六月 2023 10:17:19 +0800
Subject: [PATCH] button selfReview
---
force-app/main/default/lwc/lexPreviewPDF/lexPreviewPDF.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexPreviewPDF/lexPreviewPDF.js b/force-app/main/default/lwc/lexPreviewPDF/lexPreviewPDF.js
index e603e3f..d5e0934 100644
--- a/force-app/main/default/lwc/lexPreviewPDF/lexPreviewPDF.js
+++ b/force-app/main/default/lwc/lexPreviewPDF/lexPreviewPDF.js
@@ -4,18 +4,17 @@
export default class lexPreviewPDF extends LightningElement {
@api recordId;
+ IsLoading=true;
@wire(CurrentPageReference)
getStateParameters(currentPageReference){
if(currentPageReference){
- console.log(currentPageReference);
const IdValue=currentPageReference.state.recordId;
if(IdValue){
let str=`${IdValue}`;
this.recordId=str;
- console.log("recordId="+str);
}
}
}
@@ -23,6 +22,7 @@
connectedCallback(){
this.PreviewPDF().then(res=>{
+ this.IsLoading=false;
this.dispatchEvent(new CloseActionScreenEvent());
});
}
--
Gitblit v1.9.1