From 492f744d9d84289e27b2ddac9a9b4a2137fd11d6 Mon Sep 17 00:00:00 2001
From: KKbes <1620284052@qq.com>
Date: 星期一, 07 八月 2023 11:25:24 +0800
Subject: [PATCH] slefreview
---
force-app/main/default/lwc/lexMeetingCosts/lexMeetingCosts.js | 18 ++++++++----------
1 files changed, 8 insertions(+), 10 deletions(-)
diff --git a/force-app/main/default/lwc/lexMeetingCosts/lexMeetingCosts.js b/force-app/main/default/lwc/lexMeetingCosts/lexMeetingCosts.js
index 5727b15..84f94e2 100644
--- a/force-app/main/default/lwc/lexMeetingCosts/lexMeetingCosts.js
+++ b/force-app/main/default/lwc/lexMeetingCosts/lexMeetingCosts.js
@@ -13,9 +13,9 @@
// author: kkbes
const event = new ShowToastEvent({
- title: '鏉冮檺涓嶈冻',
message:
'鏃犳潈鏌ョ湅浼氳璐圭敤鎯呭喌',
+ variant : 'error'
});
export default class lexMeetingCosts extends LightningElement {
@@ -32,8 +32,6 @@
const urlValue = currentPageReference.state.recordId;
if (urlValue) {
let str = `${urlValue}`;
- console.log("str");
- console.log(str);
this.recordId = str;
}
}
@@ -47,12 +45,6 @@
} else if (error) {
this.error = error ;
}
- }
-
-
-
- connectedCallback(){
- console.log(this.recordId);
init({
recordId: this.recordId
}).then(result => {
@@ -66,7 +58,13 @@
}).catch(error => {
console.log("error");
console.log(error);
- });
+ });
+ }
+
+
+
+ connectedCallback(){
+
}
--
Gitblit v1.9.1