From ef5db151b7cd6008988eb5a3eec224b7d093cc5e Mon Sep 17 00:00:00 2001
From: 黄千龙 <huangqianlong@prec-tech.com>
Date: 星期三, 26 四月 2023 14:34:56 +0800
Subject: [PATCH] Merge branch 'LEX_dev' of http://47.92.229.245:8089/r/lightningupdate into LEX_dev

---
 force-app/main/default/lwc/lexcopyQIS/lexcopyQIS.js |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

diff --git a/force-app/main/default/lwc/lexcopyQIS/lexcopyQIS.js b/force-app/main/default/lwc/lexcopyQIS/lexcopyQIS.js
index ee1cc09..95bfd52 100644
--- a/force-app/main/default/lwc/lexcopyQIS/lexcopyQIS.js
+++ b/force-app/main/default/lwc/lexcopyQIS/lexcopyQIS.js
@@ -1,9 +1,7 @@
-import { LightningElement,wire,track,api} from 'lwc';
+import { LightningElement,wire,api} from 'lwc';
 import { CurrentPageReference } from "lightning/navigation";
 import { CloseActionScreenEvent } from 'lightning/actions';
-import { NavigationMixin } from 'lightning/navigation';
 import { ShowToastEvent } from 'lightning/platformShowToastEvent';
-import { updateRecord } from 'lightning/uiRecordApi';
 import init  from '@salesforce/apex/QISReportController.initForlexcopyQISButton';
 
 
@@ -17,15 +15,10 @@
 	
 	 @wire(CurrentPageReference)
      getStateParameters(currentPageReference) {
-             console.log(111);
-             console.log(currentPageReference);
-
          if (currentPageReference) {
            const urlValue = currentPageReference.state.recordId;
            if (urlValue) {
              let str = `${urlValue}`;
-             console.log("str");
-             console.log(str);
              this.recordId = str;
            }
          }
@@ -54,8 +47,6 @@
            	this.dispatchEvent(new CloseActionScreenEvent());
         }).catch(error => {
             console.log('error='+error);
-        }).finally(() => {
-            
-        }); 
+        })
     }
-}	
\ No newline at end of file
+}
\ No newline at end of file

--
Gitblit v1.9.1