From b3317ffcc4feba7145f537dcc18562b414fe229d Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期二, 01 八月 2023 17:14:32 +0800
Subject: [PATCH] 修改按钮

---
 force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.js |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.js b/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.js
index 802c7e8..aa4afc2 100644
--- a/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.js
+++ b/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.js
@@ -4,7 +4,7 @@
  * @Author: chen jing wu
  * @Date: 2023-05-25 13:59:44
  * @LastEditors: chen jing wu
- * @LastEditTime: 2023-05-30 14:54:30
+ * @LastEditTime: 2023-08-01 15:34:21
  */
 import { LightningElement, track, api } from 'lwc';
 import getRecordsByName from '@salesforce/apex/lexLookupController.getRecordsByName'
@@ -19,6 +19,7 @@
     @track
     selectedValue = "";
     error;
+    @track
     recordselected = false;
     @api
     iconname;
@@ -41,7 +42,7 @@
             })
         
     }
-    renderedCallback(){
+    connectedCallback(){
         if(this.initValue != '' && this.initValue != undefined && this.initValue != null){
             this.recordselected = true;
             this.selectedValue = this.initValue;

--
Gitblit v1.9.1