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 | 19 ++++++++-----------
1 files changed, 8 insertions(+), 11 deletions(-)
diff --git a/force-app/main/default/lwc/lexMeetingCosts/lexMeetingCosts.js b/force-app/main/default/lwc/lexMeetingCosts/lexMeetingCosts.js
index cc187b6..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;
}
}
@@ -43,17 +41,10 @@
userDetails({error, data}) {
if (data) {
this.currentUserProfileId = data.fields.ProfileId.value;
- console.log('currentUserProfileId = :' + this.currentUserProfileId);
} else if (error) {
this.error = error ;
}
- }
-
-
-
- connectedCallback(){
- console.log(this.recordId);
init({
recordId: this.recordId
}).then(result => {
@@ -67,7 +58,13 @@
}).catch(error => {
console.log("error");
console.log(error);
- });
+ });
+ }
+
+
+
+ connectedCallback(){
+
}
--
Gitblit v1.9.1