From 00e147ec892cb1e89d0698787a8c60da1014cdb7 Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期一, 26 六月 2023 17:42:22 +0800
Subject: [PATCH] Community升级
---
force-app/main/default/lwc/lexReturnGoodCusInput/lexReturnGoodCusInput.js | 36 +++++++++++++++++++++---------------
1 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/force-app/main/default/lwc/lexReturnGoodCusInput/lexReturnGoodCusInput.js b/force-app/main/default/lwc/lexReturnGoodCusInput/lexReturnGoodCusInput.js
index 84d7bf9..81d837e 100644
--- a/force-app/main/default/lwc/lexReturnGoodCusInput/lexReturnGoodCusInput.js
+++ b/force-app/main/default/lwc/lexReturnGoodCusInput/lexReturnGoodCusInput.js
@@ -1,31 +1,37 @@
-import { LightningElement,api,track } from 'lwc';
+import { LightningElement, api, track } from 'lwc';
export default class LexReturnGoodCusInput extends LightningElement {
@api boxPrice;
@api inputValue;
@api recordId;
- get showInputOrText(){
- if(this.boxPrice == '鐩�'){
+ get showInputOrText() {
+ if (this.boxPrice == '鐩�') {
return false;
- }else{
+ } else {
return true;
}
}
- connectedCallback(){
- console.log('inputValue:'+this.inputValue+this.boxPrice);
+ connectedCallback() {
+ console.log('inputValue:' + this.inputValue + this.boxPrice);
}
- changeInputValue(event){
+ changeInputValue(event) {
this.inputValue = event.detail.value;
- this.dispatchEvent(new CustomEvent('changereturncount', {
- composed: true,
- bubbles: true,
- cancelable: true,
- detail: {
- data: { value: this.inputValue, boxPrice: this.boxPrice, recordId:this.recordId}
- }
- }));
+ this.dispatchEvent(
+ new CustomEvent('changereturncount', {
+ composed: true,
+ bubbles: true,
+ cancelable: true,
+ detail: {
+ data: {
+ value: this.inputValue,
+ boxPrice: this.boxPrice,
+ recordId: this.recordId
+ }
+ }
+ })
+ );
}
}
\ No newline at end of file
--
Gitblit v1.9.1