From 43fdbff49764d55c7b3a19a1d6e7d8aeb62072ef Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期五, 21 四月 2023 11:17:35 +0800
Subject: [PATCH] backup0421
---
force-app/main/default/lwc/customUnitComp/customUnitComp.js | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/force-app/main/default/lwc/customUnitComp/customUnitComp.js b/force-app/main/default/lwc/customUnitComp/customUnitComp.js
index df1600b..420a519 100644
--- a/force-app/main/default/lwc/customUnitComp/customUnitComp.js
+++ b/force-app/main/default/lwc/customUnitComp/customUnitComp.js
@@ -6,14 +6,11 @@
@api recordId;
connectedCallback(){
- console.log('unitValue = ' + this.unitValue);
- console.log('unitOptions = ' + JSON.stringify(this.unitOptions));
- console.log('recordId = ' + this.recordId);
}
handleDataChange(event){
- console.log('dataChange' + event.target.value);
-
+ console.log('unitValue = ' + event.target.value);
+ this.unitValue = event.target.value;
this.dispatchEvent(new CustomEvent('unitchange', {
composed: true,
bubbles: true,
--
Gitblit v1.9.1