From d6a096fadfe9c8f261f56a827cfceed663c36b8b Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期三, 26 四月 2023 17:23:28 +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