From cb95755fe8496d8af6d40b05c4bbd4b6df2e77ab Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 05 六月 2023 14:39:34 +0800
Subject: [PATCH] LEX Community Report&Dashboard
---
force-app/main/default/lwc/customUnitComp/customUnitComp.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/lwc/customUnitComp/customUnitComp.js b/force-app/main/default/lwc/customUnitComp/customUnitComp.js
index 420a519..4592b6c 100644
--- a/force-app/main/default/lwc/customUnitComp/customUnitComp.js
+++ b/force-app/main/default/lwc/customUnitComp/customUnitComp.js
@@ -4,8 +4,12 @@
@api unitValue;
@api unitOptions;
@api recordId;
+ @api isDisabled;
connectedCallback(){
+ if(this.isDisabled == null){
+ this.isDisabled = false;
+ }
}
handleDataChange(event){
--
Gitblit v1.9.1