From 5d155accb594089737a0b4edd753152a1ea66bc4 Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期二, 04 四月 2023 15:23:51 +0800
Subject: [PATCH] 处理review 4.4
---
force-app/main/default/lwc/lexCancel/lexCancel.js | 18 +-----------------
1 files changed, 1 insertions(+), 17 deletions(-)
diff --git a/force-app/main/default/lwc/lexCancel/lexCancel.js b/force-app/main/default/lwc/lexCancel/lexCancel.js
index 18c6654..d98fdef 100644
--- a/force-app/main/default/lwc/lexCancel/lexCancel.js
+++ b/force-app/main/default/lwc/lexCancel/lexCancel.js
@@ -9,23 +9,7 @@
@api recordId;
status;
IsLoading = true;
- @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;
- }
- }
- }
-
-
+
connectedCallback(){
console.log(this.recordId);
--
Gitblit v1.9.1