From b954ea6b036aa2d37bc09ee7ef9b892c17e5f355 Mon Sep 17 00:00:00 2001
From: KKbes <1620284052@qq.com>
Date: 星期三, 09 八月 2023 14:47:14 +0800
Subject: [PATCH] review
---
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