From 744f42c5496e656a1f9927740a3b37c0b97a6cba Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 14 七月 2023 14:34:12 +0800
Subject: [PATCH] lexcommunityupload0714
---
force-app/main/default/lwc/lexTableCellIcon/lexTableCellIcon.js | 28 +++++++++++++---------------
1 files changed, 13 insertions(+), 15 deletions(-)
diff --git a/force-app/main/default/lwc/lexTableCellIcon/lexTableCellIcon.js b/force-app/main/default/lwc/lexTableCellIcon/lexTableCellIcon.js
index 9df4a22..1931b2a 100644
--- a/force-app/main/default/lwc/lexTableCellIcon/lexTableCellIcon.js
+++ b/force-app/main/default/lwc/lexTableCellIcon/lexTableCellIcon.js
@@ -1,24 +1,22 @@
-import { LightningElement, api } from 'lwc';
+import { LightningElement,api } from 'lwc';
export default class LexTableCellIcon extends LightningElement {
@api iconName;
@api recordId;
- connectedCallback() {
- console.log('recordId0:' + this.recordId);
+ connectedCallback(){
+ console.log("recordId0:"+this.recordId);
}
- iconClick() {
- console.log('recordId:' + this.recordId);
- this.dispatchEvent(
- new CustomEvent('clickicon', {
- composed: true,
- bubbles: true,
- cancelable: true,
- detail: {
- data: { recordId: this.recordId }
- }
- })
- );
+ iconClick(){
+ console.log("recordId:"+this.recordId);
+ this.dispatchEvent(new CustomEvent('clickicon', {
+ composed: true,
+ bubbles: true,
+ cancelable: true,
+ detail: {
+ data: {recordId:this.recordId}
+ }
+ }));
}
}
\ No newline at end of file
--
Gitblit v1.9.1