From 26ad084e248b21ced76e6226ab2a32db53f582b9 Mon Sep 17 00:00:00 2001
From: twysparks <twysparks@163.com>
Date: 星期三, 26 四月 2023 13:37:50 +0800
Subject: [PATCH] tt
---
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