From 4488f711dbc01a8db6753907cae2ef4021dede68 Mon Sep 17 00:00:00 2001 From: FUYU <fuyu@prec-tech.com> Date: 星期三, 13 十二月 2023 16:30:27 +0800 Subject: [PATCH] 修改前备份 --- force-app/main/default/lwc/customMydrComp/customMydrComp.js | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/force-app/main/default/lwc/customMydrComp/customMydrComp.js b/force-app/main/default/lwc/customMydrComp/customMydrComp.js index 35ef793..9e58427 100644 --- a/force-app/main/default/lwc/customMydrComp/customMydrComp.js +++ b/force-app/main/default/lwc/customMydrComp/customMydrComp.js @@ -1,16 +1,16 @@ -import { LightningElement, track, api } from "lwc"; +import { LightningElement, track, api } from 'lwc'; export default class CustomMydrComp extends LightningElement { - @api recordId; - @api isCheckedMyDr; + @api recordId; + @api isCheckedMyDr; - connectedCallback() { - console.log("this.recordId = " + this.recordId); - console.log("this.isCheckedMyDr = " + this.isCheckedMyDr); - } + connectedCallback() { + console.log('this.recordId = ' + this.recordId); + console.log('this.isCheckedMyDr = ' + this.isCheckedMyDr); + } - dataChange(event) { - this.isCheckedMyDr = event.target.checked; - console.log("this.isCheckedMyDr = " + this.isCheckedMyDr); - } + dataChange(event) { + this.isCheckedMyDr = event.target.checked; + console.log('this.isCheckedMyDr = ' + this.isCheckedMyDr); + } } -- Gitblit v1.9.1